如何将数据从mysql数据库加载到选中的列表框中 [英] How to load data from mysql database into a checked listbox
本文介绍了如何将数据从mysql数据库加载到选中的列表框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好.我是C#的初学者,我想从mysql数据库中读取数据到选中的列表框中,检查一些项目并保存在db中.有人可以提供代码帮助吗?
Godfrey.
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.
推荐答案
Hello OP,
请避免直接向人们询问代码.因为对于新手程序员来说不是一个好主意.
我们想阅读此链接,并尝试根据您的要求构建代码.
将C#连接到MySQL [
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
这篇关于如何将数据从mysql数据库加载到选中的列表框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文