Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter condition for datetime
Message
De
11/12/2003 14:45:23
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Filter condition for datetime
Divers
Thread ID:
00858308
Message ID:
00858308
Vues:
47
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform