求delphi中用两个DateTimePicker控件进行查询两个时间段之间的记录程序
adoquery1.SQL.Add('select*frompicwheresctimebetween'''+dateTostr(DateTimePicker1.Date...
adoquery1.SQL.Add('select * from pic where sctime between '''+dateTostr(DateTimePicker1.Date)+'''and '''+dateTOstr(DateTimePicker2.Date) +'''');无报错错,但是输不出数据
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询