Disconnecting from the database

When your database processing is completed, you disconnect from the database using the Disconnect method (you do not need to disconnect explicitly if you used drag-and-drop from the Toolbox to add the Transaction object to the form):

[Visual Basic]
TR1.Disconnect()

[C#]
TR1.Disconnect();