以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  CheckedListBox如何判断是否有选中值?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=140727)

--  作者:guosheng
--  发布时间:2019/9/12 11:27:00
--  CheckedListBox如何判断是否有选中值?
测试了一下,e.Form.Controls("CheckedListBox1").value  is  Nothing ,判断失效了;e.Form.Controls("CheckedListBox1").value  = Nothing 没选中,可以判断出来。
判断控件的值时: =   和  is  有啥区别,都啥时候用啊?

--  作者:有点蓝
--  发布时间:2019/9/12 11:40:00
--  
参考:http://www.foxtable.com/webhelp/topics/0950.htm