需要帮助解决问题 [英] Need help to solve the problem
本文介绍了需要帮助解决问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
C#:如何将多个列表框项保存到数据库表中
C#:How to save the multiple list box items into the database table
推荐答案
更改SelectonMode
^ ]到SelectionMode.MultiExtended
.然后,您将在SelectedItems
集合中获得一组值.
将所有这些值存储到数据库中.
Change theSelectonMode
property[^] toSelectionMode.MultiExtended
. You will then get a set of values in theSelectedItems
collection.
Store all those values into the database.
这篇关于需要帮助解决问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文