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

Which config file has all the supported channels/protocol?

0 Answers  


Explain the difference between const and static read-only?

0 Answers  


what are wrapper classes?

1 Answers  


What is indexer c#?

0 Answers  


How to open a new form on button click in Windows forms?

0 Answers   Viscus Infotech,


What is a property c#?

0 Answers  


Is arraylist faster than linkedlist?

0 Answers  


an object,class is value type or refarance type. ?

4 Answers   Synechron,


When should we use delegates in c#?

0 Answers  


How?s the DLL Hell problem solved in .NET?

3 Answers  


Overloaded constructor will call default constructor internally?

0 Answers  


What are the commonly used i/o classes?

0 Answers  


Categories