以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  查找条件可以这样写吗?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=101346)

--  作者:zhangjian222200
--  发布时间:2017/5/29 8:51:00
--  查找条件可以这样写吗?
查找条件可以这样写吗?
接受时间列是日期时间列

Dim drs As List(of DataRow) = DataTables("男生发起").SQLSelect("[接受时间] = Nothing And [发起_时间] <= \'" & Datemax & "\' and [发起_时间] >= \'" & Datemin & "\' and [邀请状态] = \'正在进行\'",,"[会员行为_发起编号] DESC")


--  作者:2900819580
--  发布时间:2017/5/29 9:00:00
--  
[接受时间] is null
--  作者:有点色
--  发布时间:2017/5/29 9:56:00
--  
Dim drs As List(of DataRow) = DataTables("男生发起").SQLSelect("[接受时间] is null And [发起_时间] <= \'" & Datemax & "\' and [发起_时间] >= \'" & Datemin & "\' and [邀请状态] = \'正在进行\'", "", "[会员行为_发起编号] DESC")