I need to display the checkboxes in tabular form as in attached image.

I have two tables in database with 3 and 6 records respectively. How to show them as in the above image i.e. in rows and columns in ASP.NET and c#?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are a few ways that you could go around solving this…
If you simply wish to display these six values and not do anything else, it might simply be easiest to create an
<asp:Table>tag in your .aspx file and then add the content to it dynamically when loading the page.If you have trouble with this just say so.
Read this as well to see how to do this from code behind.
edit:
If you wish to add the code retrieved from the database to the table you can use the following code (I am not sitting in front of a compiler so might contain errors):