阅读背景:

在日期之间过滤数据 - 如何在月份之间获取数据?

来源:互联网 

I've got a .NET control which reads data from a SQL database and displays it in a DataGridView. I use the DateTimePicker to filter the data between two dates. This works fine when I'm within the same month, for example 28. June - 30. June, but if I set 1. July as the end date then I get no data. Date is stored as datetime in the database. Do you know what could be wrong? Here is my code for the DateTimePicker when the value is changed.I've got a .NET control which reads data from a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: