sqlWhere = "where start_date <= # " + string.Format("{0:dd/MM/yyyy}", dtp1.Value) + " #";
sqlWhere = "where start_date >= # " + string.Format("{0:dd/MM/yyyy}", dtp1.Value) + " #";
sqlWhere = "where start_date = # " + string.Format("{0:dd/MM/yyyy}", dtp1.Value) + " #";
sqlWhere = "where start_date between # " + string.Format("{0:dd/MM/yyyy}", dtp1.Value) + " # and # " + string.Format("{0:dd/MM/yyyy}", dtp2.Value) + " #";
Access日期查询
最新推荐文章于 2023-06-14 14:46:24 发布