0

在带有(4 个数据绑定字段)的网格视图中,如果单击一行,则必须使用 14 个数据绑定文本字段(不是同一行)和按钮向下展开该行。

我尝试在 gridview 中放置一个超链接,单击该链接时,将打开另一个表单,其中包含 14 个用于更新的文本框。但我不想使用另一个表单进行更新。

当单击网格视图行时,必须显示此更新按钮和 texboxes。感谢您的帮助

If e.Row.RowType = DataControlRowType.DataRow Then
        e.Row.Attributes("onmouseover") = "this.style.cursor='pointer';this.style.textDecoration='underline';"
        e.Row.Attributes("onmouseout") = "this.style.textDecoration='none';"
        e.Row.ToolTip = "Click to select row"
        e.Row.Attributes("onclick") = Me.Page.ClientScript.GetPostBackClientHyperlink(Me.GridView1, "Select$" & e.Row.RowIndex)
End If

在此 onclick 中,我希望扩展该行。

4

0 回答 0