以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 如何设置使表的每个单元格内容不得为空 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=63200) |
-- 作者:jiangxun -- 发布时间:2015/1/15 22:09:00 -- 如何设置使表的每个单元格内容不得为空 如何设置可使得单元格内容不得为空 |
-- 作者:有点甜 -- 发布时间:2015/1/15 22:13:00 -- For Each dr As DataRow In DataTables("表A").DataRows Dim flag As Boolean = False For Each dc As DataCol In DataTables("表A").DataCols If dr.IsNull(dc.Name) Then flag = True Exit For End If Next If flag Then msgbox("此行有空值") End If Next |
-- 作者:jiangxun -- 发布时间:2015/1/17 13:57:00 -- 谢谢 |