Click here to Skip to main content
15,891,689 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I just want to know, is it possible to use transactions in ASP.Net,where we don't use
the sql operations? I mean, only in ASP.Net functions.

hoping to get some perfect answers..

Regards,
Posted
Comments
Sandeep Mewara 23-Jun-11 4:49am    
Elaborate!

I assume you're trying to ask if you can, in ASP.NET, start a process, and have the system let you cancel everything you did within that method. The answer is no. ASP.NET is an engine for generating HTML, it has no concept of such things. Even C# and VB.NET, the languages within which ASP.NET exists, have no concept of such things, you have to write your own undo/redo engine for any place you want that to exist.
 
Share this answer
 
I guess you want to know about System.Transaction
http://msdn.microsoft.com/en-us/library/ms229973(v=VS.90).aspx[^]
 
Share this answer
 
Comments
Raj.rcr 23-Jun-11 7:43am    
Thank you so much for the gud link.. I got the idea of using transactions.
Prerak Patel 23-Jun-11 7:45am    
You are welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900