I created a web form with many button representing time slots. I want users to click on the slots and book it, and store the results in a database. When I first open the web form, I need a way to loop through the buttons and populate their labels with the entries in the database (to show those button slots that have already been booked).
How can I get VB to loop through the buttons, which are named as slot1, slot2, slot3, etc?
Thanks for any pointers.