Quantcast
Channel: CodeProject Latest postings for ASP.NET
Viewing all articles
Browse latest Browse all 3938

How to tie a gridview row edit properly

$
0
0
I have a Gridview that has many pages. I order it by an ID number in descending order which is displayed. When I try to edit the row with my image button, the index I get does not match the row I clicked Edit on. How do I tie the row I clicked Edit on to the index the gvRowEditing method recieves? It gets a GridViewEditEventArgs object but that does not have a Command Argument that can tie the row to.
 
Thanks!

Viewing all articles
Browse latest Browse all 3938

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>