How to use a listBox w/MSSQL database?
Posted on 2005-04-17
I am not sure the best way to go about this.
I have a listBox that I am using for days of the week.
My project is concerning classes, i.e. algebra, physics, P.E. etc.
Each class is on certain days of the week. I want to be able to select which ever days I want. For instance P.E. is on Monday, Wednesday, and Friday. So I would select Monday, Wednesday and Friday.
I always want the listBox to be populated with all seven days of the week.
What is the best way to store this in the database?
Should I be using something else instead like checkboxes?
Also, these values need to be read from the database at a later time to have these specific dates selected in this same listBox.