以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  字符串变量  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=140883)

--  作者:fubblyc
--  发布时间:2019/9/16 23:13:00
--  字符串变量
Dim d As Date = "2019-02-18"
dim i as Integer = 1
Dim s As String = " \'{""Action"":""SyncProdSkuData"",""BeginDate"": ""2019-02-18"" ,""pageIndex"": 1 }\' "

老师,标黄色的日期,要怎么用 d 变量 代表呢? 两个双引号在那里不知道怎么处理

还有 数字 1  i


--  作者:fubblyc
--  发布时间:2019/9/16 23:24:00
--  
Dim d As Date = "2019-02-18"
Dim i As Integer = 1
Dim s As String = " \'{""Action"":""SyncProdSkuData"",""BeginDate"": """ & d & """ ,""pageIndex"": " & i & " }\' "

老师,可以了