cmd.ExecuteNonQuery() returning -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....