绑定到列表框 [英] binding to listbox

查看:98
本文介绍了绑定到列表框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

向所有人致敬,
我有一个包含名称的数据集.我必须将其绑定到列表框.

hai to all,
i have a dataset that contains names . i have to bind that to list box.

推荐答案

关闭,然后开始.这是一个非常有效的数据源,您只需要告诉控件读取哪个属性即可显示.任何winforms书籍都会告诉您确切的工作方式,您不拥有任何书籍吗?您没有参加计算机课程吗?

绑定到您的电子邮件地址的URL不起作用,但是在网络上发布您的电子邮件地址很愚蠢,它将收到垃圾邮件.如果您正在做带薪工作并问这个问题,创建一种给您钱的人可能会解决您确实对编程尚不了解的方法也很不明智.
Off you go then. It''s a perfectly valid data source, and you just tell the control which property to read for display. Any winforms book will tell you exactly how this works, don''t you own any books ? Did you not do a computing course ?

The URL tied to your email address does not work, but it''s stupid to give out your email address online, it will get spam. If you''re doing paid work and asking this level of question, it''s also not smart to create a way that people who are giving you money might work out that you really don''t have much idea about programming yet.


这篇关于绑定到列表框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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