Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter condition for datetime
Message
From
11/12/2003 14:45:23
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Filter condition for datetime
Miscellaneous
Thread ID:
00858308
Message ID:
00858308
Views:
48
Hello all,

I am trying to get an array of DataRows by setting a filter based on a DateTime condition. But I keep getting an error.

Here is the code :
DataRow[] drSelected = dsMyTableAllrecords.Tables[0].Select("red ="+DateTime.Now );
Here is the error:

Missing operand after '2' operator.


Any idea??.

Sergio
Next
Reply
Map
View

Click here to load this message in the networking platform