I have a nested GridView that instead of displaying the results based on the ID value for each row is showing all the child grids with the ID of the last row. I am trying to accomplish this in the the RowDataBound event below. It's as if the FindControl
is selecting all the child grids and binding them based on the latest parent ID value. Any idea how I can fix this?
Private Sub gridApplicants_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles gridApplicants.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then
'get the ID value for the row
Dim rowView As DataRowView = CType(e.Row.DataItem, DataRowView)
Dim theID As String ...
Go to the complete details ...