Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get work simple sql select
Message
 
 
À
18/03/2009 09:32:31
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
01389064
Message ID:
01389193
Vues:
52
Denis,

SELECT ... and ExecuteNonQuery can not be used together. You must get the query result back to know if it does indeed exist. You might be able to use ExecuteNonQuery if you call a stored proc and retrieve an OUTPUT parameter value.

>I need only check - exist record or not for current condition.. so ExecuteNonQuery - what I need

>>> loCommand = New SqlCommand("SELECT id FROM Clients WHERE (mandator =
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform