Need A Help Of Nested Grid View
-
Hay Guys, I'm working on one live project which is web based application. And We Are Using Business Logic Using Multiple Class & Fatch The Record In Front End From Back-End DB2. Now I Need To display Multiple Records. In One Gridview, I Need To To Display One More Gridview Control By MasterGrid Reff. Through Identification By Unique Key. Using Business Logic(Classes) Thank You For Consideration.
-
Hay Guys, I'm working on one live project which is web based application. And We Are Using Business Logic Using Multiple Class & Fatch The Record In Front End From Back-End DB2. Now I Need To display Multiple Records. In One Gridview, I Need To To Display One More Gridview Control By MasterGrid Reff. Through Identification By Unique Key. Using Business Logic(Classes) Thank You For Consideration.
-
Did the answer in the thread below not help, or did I misinterpret your question?
Bastard Programmer from Hell :suss:
-
No It Was Help-Full But It Was Related Using By DataSourse, & I Need Answer Related With Using Business Logic (a multiple classes). & Database Was DB2.
-
Hay Guys, I'm working on one live project which is web based application. And We Are Using Business Logic Using Multiple Class & Fatch The Record In Front End From Back-End DB2. Now I Need To display Multiple Records. In One Gridview, I Need To To Display One More Gridview Control By MasterGrid Reff. Through Identification By Unique Key. Using Business Logic(Classes) Thank You For Consideration.
hi , You can use along with and kindly search on google "item template with gridviews". You will get you solution there. You have to do this coding on .aspx->Source file.
modified on Friday, June 3, 2011 4:19 PM
-
hi , You can use along with and kindly search on google "item template with gridviews". You will get you solution there. You have to do this coding on .aspx->Source file.
modified on Friday, June 3, 2011 4:19 PM
Please edit your answer. You've borked the forums.
Forgive your enemies - it messes with their heads
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
-
Hay Guys, I'm working on one live project which is web based application. And We Are Using Business Logic Using Multiple Class & Fatch The Record In Front End From Back-End DB2. Now I Need To display Multiple Records. In One Gridview, I Need To To Display One More Gridview Control By MasterGrid Reff. Through Identification By Unique Key. Using Business Logic(Classes) Thank You For Consideration.
Gridview inside Gridview in asp.net C#[^] Hope this can help you.
-
Hay Guys, I'm working on one live project which is web based application. And We Are Using Business Logic Using Multiple Class & Fatch The Record In Front End From Back-End DB2. Now I Need To display Multiple Records. In One Gridview, I Need To To Display One More Gridview Control By MasterGrid Reff. Through Identification By Unique Key. Using Business Logic(Classes) Thank You For Consideration.
Hello I am not much experienced but I can give you an overview
Protected Sub grdMaster_RowDataBound(ByVal sender As Object, _
ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) _
Handles grdMaster.RowDataBound
Dim objListItem As DataControlRowState
objListItem = e.Row.RowState
Dim intMAsterID1 As Integer
If e.Row.RowType = DataControlRowType.DataRow Then
Dim grd As GridView
If objListItem = 5 Then
grd = CType(e.Row.FindControl("grdChildGridEdit"), GridView)
MasterTableID = Convert.ToInt32(CType(e.Row.DataItem, _
DataRowView).Row.ItemArray(0).ToString())
intMAsterID1 = MasterTableID
ElseIf objListItem = DataControlRowState.Normal Or _
objListItem = DataControlRowState.Alternate Then
grd = CType(e.Row.FindControl("grdChildGridNormal"), GridView)
intMAsterID1 = Convert.ToInt32(CType(e.Row.DataItem, _
DataRowView).Row.ItemArray(0).ToString())
Dim lnkButtton As LinkButton
lnkButtton = CType(e.Row.FindControl("Edit"), LinkButton)
If lnkButtton IsNot Nothing Then
lnkButtton.CommandName = "Edit Master"
lnkButtton.CommandArgument = intMAsterID1.ToString
End If
ElseIf objListItem = DataControlRowState.Edit Then
grd = CType(e.Row.FindControl("grdChildGridEdit"), GridView)
MasterTableID = Convert.ToInt32(CType(e.Row.DataItem, _
DataRowView).Row.ItemArray(0).ToString())
intMAsterID1 = MasterTableID
End If
If grd IsNot Nothing Then
grd.DataSourceID = ""
grd.DataSource = ChildDataSource
ChildDataSource.SelectParameters(_
"MasterTableID").DefaultValue = intMAsterID1
ChildDataSource.Select()
grd.DataBind()
End If
End If
End Subvisit here to solve your .net grid related problem http://www.dapfor.com/Help/NetGrid/Index.aspx[^]