Since you're presenting multiple columns, a GridView control is a better alternative to CheckBoxList.
It contains a CheckBoxField column type that renders as column of checkboxes.
Question
How do I make a CheckBoxList
in ASP.NET which looks like this?:
When a List Item is selected I would need the values from both columns. Thanks in advance!
Solution
Since you're presenting multiple columns, a GridView control is a better alternative to CheckBoxList.
It contains a CheckBoxField column type that renders as column of checkboxes.