http://www.xuebuyuan.com/2174728.html
在vb.net中如何判断字段为null
在vb.net中如何判断字段为null
isdbnull()或者dbnull.value
如果是判断一个DataRow的某个字段值是否是NULL的话,除了上面的方法,还可以 If MyRow.IsNULL("字段名") Then 如:
'判断数据集中的表的个数 If ds.Tables.Count() = 0 Then
end if'判断表中行的个数 If dssel.Tables(0).Rows.Count <> 0 Then
end if
转载于:https://www.cnblogs.com/lhlong/p/5240192.html