7
Reply

SqlTransaction and error ExecuteNonQuery

Mega Anaska

Mega Anaska

Mar 25 2016 2:47 AM
610
hello guys, I make script with select, insert, and update, and I used sqltransaction but when thescript after running select and start to run i = this.cmdInsert.ExecuteNonQuery, it's error with a word ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.
 
 
can you help me? thanks.

Answers (7)