Dynamic checkbox and radiobutton lists
I am using C#.NET and want to have dynamically created checkboxes and radio buttons. My database connection is hardcoded in (not using the .NET connection) and I want to retrieve information from the database, display it in either a checkbox list, or a radio button list, and allow users to check or click their choice. It is easy enough to set up either list, but I do not know how to populate them from a database. Any help or hints would be welcome.