Hi,
I have rowcommand function, in which i m obtaining sr_no as datakey from a link button. now i want to know which row was that. How to get row index this way ?
Shantanu88d 0 Light Poster
Recommended Answers
Jump to PostSo im guessing that you have a LinkButton or something like that to trigger the rowcommand event.
I think i have used this before and it works.
int rowIndex = Convert.toInt32(e.CommandArgument);
if that one above dont work you can try this lets say again that the …
All 4 Replies
jbisono 51 Posting Pro in Training
Shantanu88d 0 Light Poster
jbisono 51 Posting Pro in Training
shakeb@techwave 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.