Rujuta

Rujuta

  • NA
  • 215
  • 57.9k

cmd.ExecuteNonQuery() returning -1

Feb 18 2010 12:46 AM
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)