< Back
Page 4 of 4
Like this article? We recommend
Summary
That's all there is to it. Just get a SqlTransaction object by calling the SqlConnection.BeginTransaction() method, and either call the SqlTransaction.Commit() or SqlTransaction.Abort() method. Had I done this in class, I would have saved myself a great deal of embarrassment. And you should consider using transactions because you might be saving your job, rather than just a little embarrassment.
< Back
Page 4 of 4