Results 1 to 2 of 2

Thread: neerupa

  1. #1
    Join Date
    Dec 1969

    Default neerupa

    how to trap an error in asp for database,or connection object <BR>and roll back the transaction when an error occurs.<BR>Please it is very urgent

  2. #2
    Join Date
    Dec 1969

    Default RE: neerupa

    First off all, no need to double post!!!<BR><BR>You can reference the errors by checking the Connection.Errors collection, if Connection.Errors = 0 there were no errors, otherwise there were.<BR><BR>About the Trans rollback, are you doing this in SQL Server, for example an Update query?? You hve to give some more information, maybe show some code?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts