E
Elmo Watson
I've converted a buttonfield to a TemplateField with a button in it
Previously, in the Rowcommand, to identify the row when the ButtonField was
clicked, I had this code:
Dim index As Integer = Convert.ToInt32(e.CommandArgument)
Dim row As GridViewRow = MyGrid.Rows(index)
However, with the new TemplateField (with a button in the TemplateField), in
the RowCommand, it does not understand 'e.CommandArgument'
I get the error that the "input string was not in the correct format"
What am i missing here?
Previously, in the Rowcommand, to identify the row when the ButtonField was
clicked, I had this code:
Dim index As Integer = Convert.ToInt32(e.CommandArgument)
Dim row As GridViewRow = MyGrid.Rows(index)
However, with the new TemplateField (with a button in the TemplateField), in
the RowCommand, it does not understand 'e.CommandArgument'
I get the error that the "input string was not in the correct format"
What am i missing here?