- I have SQL Server 2000, it doesn’t support MultipleActiveResults.
- I have to do multiple inserts, and it’s done with one connection per insertion.
- I want to begin a transaction before all insertions and finish it after all insertions.
- How do I do it?
I have SQL Server 2000, it doesn’t support MultipleActiveResults . I have to do
Share
What is the reason you don’t use one connection and multiple commands (actually one command recreated in loop)? Maybe this solution will work for you:
Also see
Sql Server Transactions – ADO.NET 2.0 – Commit and Rollback – Using Statement – IDisposable