PDA

View Full Version : What is the different between objConn.BeginTrans & <%@ TRANSACTION=Required%>?


NinjaTurtle
01-03-2003, 07:30 AM
What is the different between objConn.BeginTrans & objConn.CommitTrans & <%@ TRANSACTION=Required%>

aCcodeMonkey
01-03-2003, 05:50 PM
NinjaTurtle,

Easiest way to describe it is that:

ojbConn.BeginTrans is applied to only a single datebase update transaction.

&lt:%@ TRANSACTION=Required%> Forces "all" transactions on the web page's script to require transactions.
You still have to use ojbConn.BeginTrans and ojbConn.CommitTrans to code for each update.


Hope this helps :cool: