Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with pushbutton in datagrid

Status
Not open for further replies.

chicdog

Programmer
Feb 28, 2002
84
US
I'm trying to void a record in a data grid. I've tried to use the 'dgFunctions.DataKeys(e.Item.ItemIndex)' but it is not set because I dymanically fill the datagrid in code and do not use Datakeys. I do set the key in a hyperlink column to link the infomation on another page. Is there a way to get this value from the row which the button was pressed.

Thanks
Chikey
 
Chikey: To capute datagrid column values in a hyperlink field see faq855-4372.
 
Thanks,I think I figured it out though. It was simple as setting the key field in the properties window.

Chikey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top