2
Answers

Command.ExecuteNonquery()

Ramesh  Maruthi

Ramesh Maruthi

10y
902
1
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)