Due to scarcity of information in your question, I am assuming few things:
i) You are using a
GridView
.
ii) You need
data key
value of the selected row.
This can be done using
GridView.SelectedValue Property[
^].
If this is not what you wanted to ask, you need to add more details to your question.