Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to handle errors in sqlserver



how to handle errors in sqlserver..

Answer / kiran vaidya

There is a separate class provided by .Net framework to
handle sql exceptions (errors).


try
{
.......
//Sql Operations
.......
}

catch(SqlException e)
{
//You can have all details of your sql exception by
//the object e.
}

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is class method?

0 Answers  


Can you mark static constructor with access modifiers?

0 Answers  


what is a structure in c#

3 Answers   Cognizant,


What is difference between a constant and read-only in C#?

0 Answers   CDC,


What are the new features in c# 2.0?

0 Answers  


How to generate strong name key file or which command is used to generated strong name key file?

0 Answers   CitiusTech,


Can a loop recorder detect a heart attack?

0 Answers  


What is lazy loading entity framework?

0 Answers  


What is the difference between an integer and int?

0 Answers  


HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only

0 Answers   Petranics Solutions,


what is reference parameter? what is out parameters? what is difference these two?

9 Answers   Bally Technologies, SPIC, Wipro,


Why is it a bad idea to throw your own exceptions?

1 Answers   Visual Soft,


Categories