Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
1223
The ObjectContext.SetComplete Method
Introduction
The ObjectContext.SetComplete method can be used to declare
that the transaction has been successfully completed. If the event
OnTransactionCommit is implemented then it will be executed. You have to add the
@Transaction directive otherwise the method will not work. The following
example connects to a SQL server and retrieves all data from the table.
Example
<% @Transaction = "Required" %>
<%
Dim conn,
connString
set conn =
Server.CreateObject("ADODB.Connection")