.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Sql Server >> Post New QuestionBookmark and Share Subscribe to Forum

How can we prevent the error occurs in transaction?

Posted By: Ramesh P     Posted Date: October 31, 2010    Points:2   Category :Sql Server
How can we prevent the error occurs in transaction?

Responses
Author: Asha.MP             
Posted Date: November 01, 2010     Points: 5   

Hi..

You can use try-Catch block around the DB connection Establishment,if you get any errors in DB connection it will execute ctach statement,and there you can display the user friendly messages.

Thanks and Regards,
Asha.mp


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend