7
Answers

SqlTransaction and error ExecuteNonQuery

Mega Anaska

Mega Anaska

8y
633
1
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)