以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 如何判定控件的text数值为空 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=105848) |
||
-- 作者:zhuya820 -- 发布时间:2017/8/27 21:40:00 -- 如何判定控件的text数值为空 IsNull 判断某一列的内容是否为空。 例如: If
DataTables("订单").DataRows(0).IsNull("日期") Then
那控件如何用IsNull判定空值 |
||
-- 作者:有点甜 -- 发布时间:2017/8/27 21:50:00 -- If e.Form.Controls("TexBox1").Text = Nothing Then msgbox("空") End If |
||
-- 作者:zhuya820 -- 发布时间:2017/8/27 22:05:00 --
|
||
-- 作者:有点甜 -- 发布时间:2017/8/27 23:28:00 -- 回复3楼,一样 |