I’ve developed a C# Windows Forms application to manage hotel room reservations. I’m using checkboxes to allow users to select the rooms they want to reserve. However, I’m unsure about the best way to save these selections in my SQL Server database.
My questions are as follows:
How do I retrieve the selected room numbers from the checkboxes in my C# code?
How do I insert these room numbers into my reservation table?
New contributor
Warren Libama is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.