Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't get work simple sql select
Message
 
 
To
18/03/2009 09:32:31
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01389064
Message ID:
01389193
Views:
54
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform