View Single Post
  #2 (permalink)  
Old February 15th, 2008, 10:44 AM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

In what code are you trying to get the ID? I don't see anything here that addresses that.

You can set your ID column as one of the DataKeys for the control. That way in a postback you can get the ID value out of the grid item without needing to display it.

-Peter