Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dataview.rowfilter
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00767743
Message ID:
00767914
Views:
22
Hi Glen,

DataView's RowFilter property does work with int fields in SQL Server. Can you provide your code of how you are setting the RowFilter? Here is an example:
dv.RowFilter = "ProductID > 40"
>To All:
>We are trying to understand rowfilters. We are working with a SQLServer Database. When setting the rowfilter on a Character field it works. When setting it to an Int field there are never any results. No errors, no results. Same database, same table, same piece of code, different field. We can physically see what the results should be, but we don't get anything.
> We would greatly appreciate a hint at what the problem might be.
>
> Thanks in advance.
>
>Regards,
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform