how to fetch a particular column value within the gridview when grid is binded with a db table?

Posted by Rajendra.prasad under ASP.NET on 6/12/2011 | Points: 10 | Views : 2830 | Status : [Member] | Replies : 1

how to fetch a particular column value within the gridview, when it is binded with a db table on page_load event and when to fetch the value in button click event

for ex: gridview binded with emp table on page load event and need to get the emp id on button click event without using any extra web control within the template field of gridview.



Posted by: Vuyiswamb on: 6/13/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

There are a lot of examples on the internet about this, i am not sure when last did i touch gridviews, but normally you will do it as explained in this link

Thank you for posting at Dotnetfunda

Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response