Welcome Guest Search | Active Topics | Sign In | Register

Visible property for grid columns Options
sstoos
Posted: Tuesday, December 18, 2007 12:18:14 PM
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
eo_support
Posted: Tuesday, December 18, 2007 1:25:14 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Yes. There is a KeyField property on the Grid object itself.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.