Is it possible to retrieve the DataRowIndex of the in RowDataBound Event of GridView

Posted by Roy Astro on Stack Overflow See other posts from Stack Overflow or by Roy Astro
Published on 2010-04-13T10:33:51Z Indexed on 2010/04/13 14:03 UTC
Read the original article Hit count: 324

Filed under:
|

Hi All,

Is it possible to retrieve the DataRowIndex of the binding datarow from its parent DataTable. I would use it to point again back to the datatable when i perform a delete operation. I can't use the DataItemIndex of GridView since the rows with RowState=Deleted still exists., so it won't point to the correct row of datatable.

© Stack Overflow or respective owner

Related posts about gridview

Related posts about ASP.NET