谢谢了
我这样输入
可是提示说我的数据类型不匹配
access中的是日期时间类型.........
string str = "Select * from Trade where CardID = '"+cardNo2.Text+"' and (TradeDate Between '"+dtp2.Value+"' And '"+dtp3.Text+"');";
.........
我这样输入
可是提示说我的数据类型不匹配
access中的是日期时间类型.........
string str = "Select * from Trade where CardID = '"+cardNo2.Text+"' and (TradeDate Between '"+dtp2.Value+"' And '"+dtp3.Text+"');";
.........
要学会自己解决问题
cardID.text那部分测试过了,也没问题
就是两个datatimepicker的between and语句有问题:(
我琢磨了一晚上了。郁闷了
恩
大郁闷了
只好求助了