
如何判断row里面没有数据
我已经判断好dataset里面有没有ROW了,可是如何判断ROW数据是不是空的呢?是不是NULL呢
If DsCustActiveJobs1.Tables.Count = 0 Or DsCustActiveJobs1.Cust_Active_Jobs.Rows Is Nothing Then
当把ROWS清空后,可是还是跳过这个IF
想判断ROWS里面数据是不是NULL;
__________________________________________________________________________
Dataset-> DataTable-> DataRow-> “Field”
先搞清楚这些吧!
你写的语句都不对!
---
判断dataset里面有没有ROW:ds.tables(0).rows.count> 0
__________________________________________________________________________
If not DsCustActiveJobs1.Tables(0).Row.Count is nothing then
.....
end if
__________________________________________________________________________
用ROWS.COUNT
__________________________________________________________________________
直接判断row is nothing 成立不成立
__________________________________________________________________________
dataset1.table(0).rows.count的值是不是为0
__________________________________________________________________________