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 meant by generics in c#?

0 Answers  


what is serilization?

6 Answers   Protech,


What is meant by clr?

0 Answers  


Why do we use public static void main in c#?

0 Answers  


What is different between Implicit conversion and Explicit conversion in C#?

0 Answers  


Can abstract classes be final?

0 Answers  


What is immutable in C#?

0 Answers   SwanSoft Technologies,


Can hashtable have duplicate keys in c#?

0 Answers  


What is the raise event used for?

1 Answers   Wipro,


What is array collection?

0 Answers  


What is a static class in c#?

0 Answers  


Is a games console a computer?

0 Answers  


Categories