复选框列表绑定到Windows应用程序中的数据库 [英] Check Box List Binding To Database in windows application

查看:73
本文介绍了复选框列表绑定到Windows应用程序中的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将数据库表绑定到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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆