Datagrid column headertext => CheckboxList ?
Hope you can help...
Heres my situation. I fairly new to ASP.NET with Databases, and I am working through the Wrox book at the moment while creating a fairly simple web application for work.
So far I have a datagrid populated from SQL containing a LOT of user information. Infact, far too much. There are too many fields, but the users require them all.
What I want to do is generate checkboxes from each field in the table and bind them to the datagrid so that users can turn off/on the columns they dont want to see.
So, I just want to know how I can bind a CheckboxList to the Datagrid HeaderText...
If someone can answer this, I will be wrapped! Becuase this is the only thing holding me back so far. :)