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 /
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Jul 29, 2013, 2:59 AM
Bhupendra ChauhanPosted Jul 29, 2013, 2:58 AM
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