how to get the data of the exact row in Repeater

W

wweric

there is a button in every row in a Repeater.If the button is clicked,i want
to get the data of the row where the button is.How can i get the data?
Thanks .
 
J

Jj

set the IDs of all the columns (including the bottons with the same index ,
e.g. button_3 ...), then parse the ID to get the index in the OnClick
method.

Jianjun
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top