How to save the checked items on checkedlistbox in sql database? I searched through the web and found out that for loop or foreach is necessary. Could someone give me a sample code and an explanation. I really need to do this, but can't find a good tutorial for this.
xxxtian 0 Light Poster
Recommended Answers
Jump to PostDo you have to save only names of th checkBoxes? or What exactly? And where? Do you need a new ID (primary key) for each checklistBox? How does your storedProcedure look like (it only accepty one value at a time, or..)?
If its in any help:
Jump to PostLOL - short answer on so many questions - so dont expect us to be generous with answers!!
This is a stored procedure you have, that`s all? That will do nothing.
What you need to do:
- get the last id existed from the databse
- then you …
All 7 Replies
Momerath 1,327 Nearly a Senior Poster Featured Poster
xxxtian 0 Light Poster
Mitja Bonca 557 Nearly a Posting Maven
xxxtian 0 Light Poster
Mitja Bonca 557 Nearly a Posting Maven
xxxtian 0 Light Poster
xxxtian 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.