Rowindex of a Gridview row, which is a template field(not buttonfield), can be obtained in two ways
- By writing below code in rowcommand event of GridView
Dim index As Integer = row.RowIndex
- By adding below code in the designview of the template field
No comments:
Post a Comment