Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OleDB syntax with a Selected date Field
Message
De
20/11/2012 15:18:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01557578
Message ID:
01557689
Vues:
34
>Hi Borislav.
>Yes I have seen Ricks link but nowhere do I see an example with a DATE in the parameter
>Regards,
>Gerard
string oSel = "Select Myfield1,MyDate from MYTable WHERE MyDate <= ? ";
DateTime dt = DateTime.Now;
oComm.Parameters.Add(new OleDbParameter("?MyDate ", dt));
?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform