Mega Anaska

Mega Anaska

  • NA
  • 144
  • 35.6k

SqlTransaction and error ExecuteNonQuery

Mar 25 2016 2:47 AM
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)