Rank: Member Groups: Member
Joined: 10/8/2007 Posts: 18
|
I am trying to get the datakey value for a row in the datagrid and it seems that the only way to do this it to add a column and set the datafield to the key in the dataset. However, I don't want this to be displayed. Is there a better way of getting the datakey value of the row or a way to set the column's visibility to false? Thanks for the help!
-s
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Yes. There is a KeyField property on the Grid object itself.
|