Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Code Block Transaction, possible?

Thread Tools

Code Block Transaction, possible?

Posts: n/a
I have a button action that executes several tasks. I need for all those
tasks to be within a transaction so I can guarantee that they all suceed or
all fail. I have set the @Page Transaction="Required" but it does not make
any change. I am also using the Application_OnError in global.asax.

Is there any way that I can get a group of tasks to be "watched" so they act
as if they are in a transaction object. These tasks will include the creation
of custom objects and accessing methods within those objects.

If this is not possible any idea why the page transaction is not working
correctly? I have programmed an error in the page so that I can test.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fo:Block can you check to see if a block contains any text by using the block id? morrell XML 1 10-10-2006 07:18 PM
Problem with enterprise application block - data block Showjumper ASP .Net 1 03-19-2005 03:48 PM
Block DIV within a block DIV? Noozer HTML 3 01-06-2005 10:24 PM
XML schema validation of one xml block based on values from another xml block Andy XML 0 11-18-2004 11:04 PM