Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what is the equivalent of container.itemindex in gridview in itemtemplate in HTML ,to retrieve the index of current selected row
please give suitable answer....
Posted
Updated 1-Apr-11 22:27pm
v5
Comments
Sandeep Mewara 26-Mar-11 8:58am    
Not clear. You are you tring to do?

Can u try to elaborate it , because

Gridviewrow gvr=Gridvieww1.Rows[Gridvieww1.SelectedIndex];

should give you the selected row.
 
Share this answer
 
I guess you are looking for GridView.SelectedRow Property [^]. :thumbsup:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900