复选框列表绑定到Windows应用程序中的数据库 [英] Check Box List Binding To Database in windows application
问题描述
如何将数据库表绑定到C#.net Windows应用程序中的复选框列表。
表
----------------------
Id Name
------- ---------------
1产品1
2产品2
3产品3
------------------------
显示成员as--名称和值成员as - id
这应该适合你。
http://msdn.microsoft.com/en-us/library/31723w77(v = vs.85)的.aspx [ ^ ]
查看这些文章..
Bindable CheckedListBox [ ^ ]
http://www.webcodeexpert.com/2013/04/how-to-fill-checkboxlist-from-sql.html [ ^ ]
< blockquote class =FQ>Quote:使用数据列列绑定复选框列表
请检查以下链接
http:// www。 dotnetspider.com/forum/316985-Bind-checkbox-list-using-datatable-column.aspx [ ^ ]
Hi,How to bind database table to checkbox list in C#.net Windows application.
Table
----------------------
Id Name
----------------------
1 product1
2 product2
3 product3
------------------------
display member as-- name and value member as-- id
This should work for you.
http://msdn.microsoft.com/en-us/library/31723w77(v=vs.85).aspx[^]
Check these articles..
Bindable CheckedListBox[^]
http://www.webcodeexpert.com/2013/04/how-to-fill-checkboxlist-from-sql.html[^]
Quote:Bind checkbox list using datatable column
Please check the below Link
http://www.dotnetspider.com/forum/316985-Bind-checkbox-list-using-datatable-column.aspx[^]
这篇关于复选框列表绑定到Windows应用程序中的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!