-- 作者:wilson
-- 发布时间:2012/7/19 21:50:00
--
\'If e.DataTableName = "订单编号" Then \' Dim StartDate As Date = Date.Today().AddDays(-30) \'加载30天 \' e.SelectString = "Select * From {订单编号} Where [订货日期] > %" & StartDate & "%" \'End If
\'If e.DataTableName = "订单" Then \' e.SelectString = "Select * From {订单} Where [订货日期] = %" & Date.Today & "%" \'End If
\'If e.DataTableName = "配件销售表" Then \' e.SelectString = "Select * From {配件销售表} Where [订货日期] = %" & Date.Today & "%" \'End If
就是上述代码无法加载,我把#改为% 也没用
|