Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi people out there.Am a beginner in C# and i would like to read data from mysql database into a checked list box, check some items and save in the db.Could someone help with the code?
Godfrey.
Posted

1 solution

Hello OP ,

Please avoid to ask people about code directly . Because Its not a good practive for Novice programmer.

We would like read this link and try to build code for your requirement.

Connect C# to MySQL[^]

And If you come across any issues / question you can reply to this thread.


Hope this helps , If yes then plz accept and vote the answer. Any queries / questions on this are always welcome.

Thanks & Regards
RDBurmon.Sr.Software Engineer
 
Share this answer
 
Comments
Member 9091560 11-Jun-12 2:58am    
Thanks sir for the response, but i want to have my db query results in a checked list box.Any other suggestion is welcome.
Thanks,
Godfrey.
RDBurmon 11-Jun-12 7:45am    
In that case write query something like "SELECT name FROM Table" and fill the datatable and attach that datatable to the check list box.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900