[英]How can i check if listbox is connected to a datasource?
theres a way to check if listbox is connected to datascource ? 有没有办法检查列表框是否已连接到datascource?
I mean something like that 我的意思是这样的
if (listbox1.datascource.enabled == true)
....
Yes just test for 是的,只是测试
if (listbox1.DataSource != null)
This could be easily discovered looking at the reference material for everything NET related 查看与NET相关的所有内容的参考资料,就很容易发现这一点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.