我正在开发一个Web应用程序,我有一个嵌套的Gridview。在编辑子Gridview的行时,我需要在模态弹出窗口
中编辑子视图和父网格视图我打算做这样的事情:
Protected Sub ParentGridview_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ParentGridview.SelectedIndexChanged
For Each row As GridViewRow In ParentGridview.Rows
Dim ChilGridviw As GridView = DirectCast(row.FindControl("ChilGridviw "), GridView)
'some more code here
Next
End Sub
任何帮助都将受到高度赞赏。谢谢:))