以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.net/bbs/index.asp)
--  专家坐堂  (http://foxtable.net/bbs/list.asp?boardid=2)
----  语法错误  (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=127368)

--  作者:cyrollin
--  发布时间:2018/11/12 17:12:00
--  语法错误
甜, 麻烦帮我纠正下语法,谢谢

            Dim dt As String = Format(Date.Today.AddDays(2),"dddd")

            For Each fdr As DataRow = DataTables("表A").Select("星期 = \'" & dt & "\'")  ‘ 语法错误
[此贴子已经被作者于2018/11/12 17:25:42编辑过]

--  作者:有点甜
--  发布时间:2018/11/12 17:53:00
--  

Dim dt As String = Format(Date.Today.AddDays(2),"dddd")
For Each fdr As DataRow In DataTables("表A").Select("星期 = \'" & dt & "\'")
   
Next