W
Wayne Wengert
I have a datagrid in my ASP.NET page that displays several rows based on
some user specified criteria. I have an Edit button and a Delete button in
each row. When the user clicks on either of those buttons I want to set a
Session variable to the contents of the field named "ID" in the selected row
and then call another page that will do the actual edit or delete. I have
the Private Sub DataGrid1_EditCommand(....) and it does seem to fire when I
click on the Edit button in any row but I get exceptions when I try to get
the value of the selected row?
I cannot figure out the syntax (VB) to get the value of the ID field in the
selected row.
Any help is appreciated
Wayne
some user specified criteria. I have an Edit button and a Delete button in
each row. When the user clicks on either of those buttons I want to set a
Session variable to the contents of the field named "ID" in the selected row
and then call another page that will do the actual edit or delete. I have
the Private Sub DataGrid1_EditCommand(....) and it does seem to fire when I
click on the Edit button in any row but I get exceptions when I try to get
the value of the selected row?
I cannot figure out the syntax (VB) to get the value of the ID field in the
selected row.
Any help is appreciated
Wayne