how to get the corresponding primary key id values of the selected gridview row
i need this id for update function which needed in where clause /
How to get the corresponding primary key id values of the se
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Posted Jul 28, 2013, 10:59 PM EDT
Bhupendra ChauhanRank #8,316 · 224 reputationPosted Jul 28, 2013, 10:58 PM EDT
You can use DataKeyName for the same. and It can be easily accessible in RowDataBound.
Please Refer the Following Link
http://www.codeproject.com/Articles/23833/DataKeyNames.
Please mark as answer if it is useful for you.
Regards
Bhupendra