5
Reply

dynamic checkboxes in Windows Form

hartmacj

hartmacj

Feb 14 2005 8:23 AM
4.9k
I have a Windows App that reads in an Excel Spreadsheet that contains questions and answers. I display the question and then dynamically create checkboxes for each answer. The amount of answers (checkboxes) depends on which Excel file I read. After I create the form and display it, how do verify which checkbox was checked? Since I create the checkboxes dynamically, there isn't a unique name for the checkbox for which to create a "click" event. Please, help.

Answers (5)