Mar 25, 2003 #1 G 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
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
Mar 25, 2003 #2 a_jam_sandwich Well-known member Joined Dec 10, 2002 Messages 367 Location Uk 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
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
Mar 25, 2003 #3 Robby Moderator Joined Nov 17, 2002 Messages 3,461 Location Montreal, Ca. User Rank *Expert* Is it a Delete, Update, Insert query? Are you certain that a row should be affected?