how to find a particular row click event in gried view

Posted by Shanky11 under VB.NET on 3/2/2013 | Points: 10 | Views : 1105 | Status : [Member] | Replies : 1
i have a griedview i need to find its particular row event
for eg
i m attaching file here see it.............
click on any particular row click
after thae click on edit btn whch row u want to edti
n edit btn all text boxes should fill by this values
how can i achieve this


Posted by: Self-Innovator on: 3/2/2013 [Member] Bronze | Points: 25

try the below code in a grid view databoud
 int id = Convert.ToInt32(GridView1.DataKeys[e.RowIndex].Value);

Join Hands Change lives
Thanks & Regards
Straight Edge Society

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response