首页上一页 1 下一页尾页 1 条记录 1/1页
超出索引,急
发表在ASP.NET图书答疑
2008-11-28
是否精华
是
否
版块置顶:
是
否
代码如下:
Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles GridView1.RowCommand
If (e.CommandName = "select") Then
Dim m
Dim item
item = GridView1.Rows(Convert.ToInt32(e.CommandArgument))
m = item.Cells(0).Text
aaa.Text = m
End If
End Sub
Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles GridView1.RowCommand
If (e.CommandName = "select") Then
Dim m
Dim item
item = GridView1.Rows(Convert.ToInt32(e.CommandArgument))
m = item.Cells(0).Text
aaa.Text = m
End If
End Sub