Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataView Filtering
Message
 
To
28/05/2004 10:42:38
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00908153
Message ID:
00908330
Views:
18
>All,
>
> I have a windows application which allows the user to search data by date range like Quicken(today, this week, this month, etc) The form has a grid on it that displays a dataview. I want to filter the data by the date range, but am getting an error message. The error is expression contains unsupported operator 'between'. Is there a different way to set the filter? The current code is below.
>
>
>    dvdata.rowfilter = "calldate Between " + cboStart.Value.Date + " and " + cboEnd.Value.Date
>
Jim;

One more suggestion:

As an example if you are using the SqlDataAdapter try:
SqlDataAdapter1.SelectCommand.CommandText = “your select statement goes here”
This should be faster than using the RowFilter.


Tom
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform