6
Answers

cmd.ExecuteNonQuery() returning -1

Ask a question
Rujuta

Rujuta

14y
7.2k
1
I've a gridview that I'm binding on a dropdownlist select index change event.

I've a stored procedure(which works fine when executed) which i pass in sqlcommand.

when i execute this sqlcommand it returns -1 as its value

what could possibly be wrong as my stored procedure is working find and i just cannot locate the error....

Answers (6)