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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkboxes in Datagrid

Status
Not open for further replies.

JDAEMS

Programmer
Aug 27, 2003
84
BE
Dear sir/madam,

I want to have checkboxes in front of each row of my datagrid. But afterwrds I need to be able to check whether which has been checked and which not. How can I accomplish this?

Kind regards
Jelle
 
Place the checkbox inside of a template column. You can check which ones are checked in the ItemDataBound event or you can loop throught the rows in the grid and check. Just get a refernect to the checkbox by using FindControl() then check the checked property.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top