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

hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......

0 Answers   Tricom,


What is the difference between int16 and int32 in c#?

0 Answers  


What is super class in c#?

0 Answers  


wt is namespace? wt is the use?

12 Answers  


These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.

0 Answers   TCS,


How to use the sreamReader class to read form a text file?

0 Answers   MCN Solutions,


What is the meaning of MSIL?

0 Answers   TCS,


What do you know about WM_CHAR message?

0 Answers   C DAC,


State the top.NET class that everything is derived from?

0 Answers   Siebel,


what is the purpose of using statement in c#

0 Answers   Cognizant,


What's c# ?

0 Answers  


Can a constructor have a return type?

0 Answers  


Categories