Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

How do you get the selected cell of a gridview?

$
0
0
I am just curious about something, if i have a gridview that has rows of buttons how do i get the id of a button that is clicked?

Like say there are 4 rows of 4 buttons each, how can i tell whether i am clicking on button 1 in row 1 instead of button 1 in row 4? I've searched online but i cant seem to find a good answer for this. (I dont have code to include because i havent made anything, i am just trying to figure this out before i get started.)

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>