|
-
Oct 9th, 2002, 04:46 AM
#1
Thread Starter
Addicted Member
how to save to a diff db structure
i have 3 combo boxes in a form. One is binded to a dataset and the other 2 are constants defined in the item collection. The name of the fields are group(databound combobox), dayofweek(Monday, tue, etc..) and time (12:00am, 1:30am...and so on).
My question is how to save the information in a database with this structure: grp, mon, tue, wed, thu, fri. The value from the databound combobox will be save to grp. Then the value from time combobox will be save to mon, tue, wed, thu fri depending on the value from the dayofweek combobox.
For example:
grp: Accessories
dayofweek: Monday
Time: 12:00n
The db will be:
grp:Accessories
mon:12:00nn
tue:<null>
wed:<null>
thu:<null>
fri:<null>
Im just starting to learn the .net and Im having a hard time figuring out where and how to start.
Hope somebody out there could give me an idea.
Thanks,
Marivic
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|