Gridview inside Gridview items to be inserted into DB Table
-
Hi all, I have Outer Gridview and Inner Gridview , Inner Gridview Contains the Checkboxes now if Outer Gridview Check box Checked then Inner Gridview Checked enables false else vice versa. Now my Probelm is that how i access the inner Gridview items and insert into database if outer Gridview checkbox not checked Share me the Ideas Best Regards, Thanks in advance
-
Hi all, I have Outer Gridview and Inner Gridview , Inner Gridview Contains the Checkboxes now if Outer Gridview Check box Checked then Inner Gridview Checked enables false else vice versa. Now my Probelm is that how i access the inner Gridview items and insert into database if outer Gridview checkbox not checked Share me the Ideas Best Regards, Thanks in advance
You might consider
RowDataBound
event to find the control. use like this :Sub CustomersGridView_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs)
If e.Row.RowType = DataControlRowType.DataRow Then
'now use e.Row.FindControl to get the gridview.
End If
End Sub
Hope you got the solution. :rose:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript