以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 请问,如何知道 SQLSelect是否返回了数据? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=133308) |
-- 作者:蓝色理想 -- 发布时间:2019/4/11 17:36:00 -- 请问,如何知道 SQLSelect是否返回了数据? 帮助中的例子: Dim drs As List(of DataRow) = DataTables("订单").SQLSelect("产品 = \'PD01\'") 要是 筛选完,没有数据返回,请问如何能知道? |
-- 作者:有点甜 -- 发布时间:2019/4/11 17:45:00 -- If drs.count = 0 Then msgbox("没有数据") End If |