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 difference between encapsulation and abstraction in c#?

0 Answers  


What are logical operators in c#?

0 Answers  


How do I enforce const correctness in c#?

0 Answers  


Can a class have multiple constructors c#?

0 Answers  


How to transpose rows into columns and columns into rows in a multi-dimensional array?

4 Answers   Microsoft,


Is string nullable c#?

0 Answers  


Can u create multiple threads of execution ?

1 Answers   IBM, ITC Infotech, UHU,


In .NET which is the smallest unit of execution?

0 Answers   Siebel,


What does char mean in c#?

0 Answers  


What is Delegate and what is it used for ?

0 Answers   NA,


Is Facebook a desktop application?

0 Answers  


Does C# supports multi-dimensional arrays?

3 Answers   Microsoft,


Categories