Click here to Skip to main content
15,909,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys!

I want to know that
Begin transction
commit or rollback transaction is posiible in asp.net?


plz provide me some source for that..?


i have done first bulkinsert in database after immediatly
called stored procedure which update the other table.


therefore if sp is not executed or it will shoe the error that time bulkinsert should be rollback...

this is possible?



thank
@ChetanV@
Posted
Updated 8-Feb-12 18:23pm
v3
Comments
Varun Sareen 9-Feb-12 0:26am    
Dear Friend,

Have you done google search? there are many links to solve your query..

http://www.c-sharpcorner.com/UploadFile/dchoksi/transaction02132007020042AM/transaction.aspx

http://msdn.microsoft.com/en-us/library/ms229977%28v=vs.90%29.aspx

Thanks

1 solution

try this articles
http://www.aspnet101.com/2010/07/working-with-ado-net-transactions/[^]

http://www.4guysfromrolla.com/articles/072705-1.aspx[^]



vote or Accept this solution
if this will help you
thanks
 
Share this answer
 
Comments
Tech Code Freak 9-Feb-12 0:46am    
5up!
[no name] 9-Feb-12 0:54am    
Thank You!!!

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