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!

datagrid hide customer id on each row

Status
Not open for further replies.

vcllvc

Programmer
Jul 12, 2001
136
US
i have a customer object which has custID, custName, custAddress and I need to bind the customer collection to a datagrid. But I only want to show the custName, custAddress and a template column with a radio button for each item.

So when the form postback, how do i find out which custID related to the selected row?

Can i hide it somewhere within each item, like ID, but it seems does not work to me.

any thought, please help.
thanks in advance.
Vincent
 
all you have to do is uncheck visable in the dg properties.

make sure you have that ID field in your select statment so when you rebind your grid it gets put into the dg.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top