How to catch the Grid view for selected index through my coding part?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
lokesh muppana30 reputationPosted Nov 4, 2009, 6:07 PM EST
string row1=(GridView1.DataKeys[e.RowIndex].Values[0].ToString());
int row = Convert.ToInt32(row1);