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 do you handle unhandled exceptions in ASP.NET?.

Answers were Sorted based on User's Feedback



How do you handle unhandled exceptions in ASP.NET?...

Answer / madhu

By giving
Try
{
any thing u want to give without exception
}

catch
{
here exception takes
}

Is This Answer Correct ?    1 Yes 0 No

How do you handle unhandled exceptions in ASP.NET?...

Answer / s

try
{
here u have to write ur code
}
catch (Exception ex)
{
here if u get any error it was handled by Exception ex
}

Is This Answer Correct ?    1 Yes 0 No

How do you handle unhandled exceptions in ASP.NET?...

Answer / raviraj

usually we handle exceptions in an appication using try ...
catch block.....If this structured exception too failed (as
you said the case of unhandled exception)Then we can define
user defined execeptions by creating a class which inherits
the application exception.The exception that contained in
the method of the class will automatically handled by the
throw new exception statement ,which contains the error
message.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Types of objects in ASP?

8 Answers   Beget, Microsoft,


Can a .net web application consume java web service?

0 Answers  


Disable Session State at the Page Level

1 Answers  


What does WSDL stand for?

10 Answers   Siebel Systems,


What are the types of authentication in asp.net?

0 Answers  


How does the iis work?

0 Answers  


I have one .Net application and i have two databases which is in SQL server2000 and one more database in ORACLE? how can i access the database from different Databases?

3 Answers   eXensys,


I have a DataGrid in which two of the columns are editable...i want to update the backend table with the newly edited data of the datagrid. How to do this please help me.

1 Answers   MS Technosoft, Wipro,


What are the different types of validation controls in asp.net?

0 Answers  


I am trying to redirect another site on button click.

8 Answers  


About CLR, reflection and assemblies?

0 Answers   Microsoft,


What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?

1 Answers   Siebel Systems,


Categories