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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the following code legal?

926


Can dictionary have duplicate keys c#?

823


What is the use of the dispose method in C# ?

913


What is the C# syntax to catch any possible exception?

893


What debugging tools come with the .NET ssSDK?

1189


How many bytes is an int in c#?

879


How to implement delegates in c#.net

946


What is action c#?

867


What is the difference between and xml documentation tag?

912


What is constructors, explain with syntax

898


What is difference between gridview and form view?

953


What are winforms in c#?

858


Do events have return type c#?

864


What is class in oops with example in c#?

854


What is monitor in C#?

961