Help with Datagrid
I'm using a simple data grid bound to a sql table.
I've added the following
Private Sub dg1_ItemCommand(ByVal source As System.Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs )
Session("donorps") = 'the donorps value on the row clicked'
Response.Redirect("pages.aspx")
End Sub
donorps is the 2nd column in the data grid, how do I get the value of the donorps column of the row clicked?
Any help would be great.
|