Please note that the database project that I have is completely in sandbox mode. Nothing is completed. Everything (again in sandbox mode) is in the same table. Also, I'm currently looking for a coding job. I am looking for the correct theoretical / logical approach to this puzzle so that I can go and play with the encoding myself. I studied so well. If I need help with coding, I will come back here for further help.
I am creating the first of several CheckBoxList to submit a manually created form. I was looking for several ways to not only create the specified CheckBoxList, but also enter it into the database. However, the problem I am facing (mainly because I have not come across this script before, and I would like to know about it) is that I not only need to worry about the correct entry of the elements in the database, but I will eventually need to issue a report or make a printed form out of these records.
Let's say I have a grill order form for a grill of a certain type, and I will need to send this form to distribution centers across the country. Distribution centers will need to pull out the barbecue if they are highlighted in uniform.
Here's what the CheckBoxList for distribution centers will look like:
All
Dallas
Miami
Los angeles
Seattle
New york
Chicago
Phoenix
Montreal
If a specific city (or all cities) is selected, then the distribution center will pull the barbecue grill to send.
The added part is what I want:
be able to create a grid from this reporting database to indicate which distribution center has received barbecue orders and
You can create reports to let you know which distribution center has sent barbecue orders for a specific month (among other reports).
Here is what I'm playing with right now.
On my aspx page, I have a checkboxlist programmed with all the distribution centers entered as listitem, as well as the option for "ALL" (distribution centers).
I also created a dedicated column in this table that contains all the information in the list and programmed sqldataconnection to this table in order to play with the programmability of using the database for this purpose.
When it comes to writing selected ones to the database, I initially created a column for each destination city, including the "All" option. I was going to merge, just putting the selection in one column, but with some information that I read today about standardizing the database, the first options seem to be better than the last. Is this good practice for such situations, especially if I need to think about reporting? Am I putting CheckBoxList data in one cell in a specific column? Create separate columns for each distribution center? Am I even on the right track here?