Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
Like this article? We recommend

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.

  • + Share This
  • 🔖 Save To Your Account