Posted on: 5/25/2011 1:19:41 PM | Views : 924

I was wondering if it's possible to get a grid of checkboxes with row and column headings that are dynamically generated from SQL queries.
 
Basically I have two tables in my database- Labs and Tests, and I want to be able to allocate tests to these labs, so each checkbox would refer to a given test at a given lab. I have found a tutorial which involves hard coding, but the labs and tests in the database are variable and this tutorial has the headings hard coded it seems:
http://weblogs.asp.net/jgalloway/archive/2007/07/07/checkbox-grids-in-asp-net.aspx
 
Any ideas how to do this? 
 
Thanks!
...

Go to the complete details ...