(C# and ADO.NET) ExecuteNonQuery() problem

gicio

Well-known member
Joined
Aug 26, 2002
Messages
90
Hi there!

how I can find out why ExecuteNonQuery() return 0 and not 1 by submit?
at this moment I see no chance to know why my query isnt submited.


thx


gicio
 
If you are getting a return value from the execute the query is being run

Check the SQL

it return 0 because no records were affected

Andy
 
Back
Top