Hi,
I am working on a website that uses a gridview. I added a template field with a button which, when clicked, should run an update procedure on the database. I figured out how to retrieve the index value of the row that the button was clicked - see code below, now I need to know how can I retrieve a specific data item from the gridview?
Thanks
Kai
Protected Sub GridView1_RowCommand1(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles GridView1.RowCommand
If (e.CommandName = "App") Then
Dim index As Integer = Convert.ToInt32(e.CommandArgument)
MsgBox("Form selected:" & index)
End If
Go to the complete details ...