News:

Choose a design and let our professionals help you build a successful website   - ITAcumens

Main Menu

How to get process to continue after geting Error

Started by dhilipkumar, May 21, 2009, 10:21 AM

Previous topic - Next topic

dhilipkumar

How to get process to continue after getting Error

i getting errors in my application....

A user checks a checkbox in a gridview, they can check all if necessary.

A stored procesure gets all the necessary data for the datakey passed into it from the gridview.

Now the code on the web page processes the payment, if there is an error or the process fails a log entry is made to a transaction log. But no more rows are processed. I need the next row in the gridview that is checked to be processed.

the procedure that does the process is wrapped in transaction code:

            tr = conn.BeginTransaction()
            cmdInsert1.Transaction = tr


thanks in advance