Ramesh  Maruthi

Ramesh Maruthi

  • NA
  • 4.2k
  • 524.5k

Command.ExecuteNonquery()

Apr 21 2014 5:43 PM
when am trying to execute a stored proc  by using command.executenonquery() it was giving me the return value as -1, where I have to get 1 value. In the stored proc am doing inserting and updating , am inserting the orderid from order table into orderevent table(which has a trigger on orderevent table) and updating the status of an order in order table,  please if anyone knows the solution let me know . Thanks in advance 

Answers (2)