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.


ali tuncerRank #1,498 · 1.1K reputationPosted Mar 27, 2016, 7:06 PM EDT
check this link:
Sanjay KumarRank #561 · 4.3K reputationPosted Mar 25, 2016, 4:49 AM EDT
Saillesh PawarRank #536 · 4.5K reputationPosted Mar 24, 2016, 11:05 PM EDT
Mega Anaska155 reputationPosted Mar 27, 2016, 6:03 PM EDT
Chandu KumawatRank #1,449 · 1.1K reputationPosted Mar 27, 2016, 9:57 PM EDT
Ashish SrivastavaRank #2,169 · 655 reputationPosted Mar 28, 2016, 3:04 AM EDT
Ashish SrivastavaRank #2,169 · 655 reputationPosted Mar 28, 2016, 3:11 AM EDT