Which button was clicked on GridView

Y

Yossi

I have GridView with several text columns and 2 buttons. How do I determine
which button on which row was clicked.

I am able to detect a button clicked if I set the CommandText to "Select".
All I have to do is write an event handler for the SelectedIndexChanged
event and I get to know on which row the button was clicked. But how do I
tell whether the first or second buttons where clicked?
 

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,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top