How can u handle Exceptions in Asp.Net?

Answer Posted / guest

using system.exceptions namespace

Try
Piece of code ..
Catch objError as Exceptions
display objError.message
Finally

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session management in web application?

541


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

531


What is asp.net ajax?

548


Explain Optimization technique description?

594


What is the function of the ViewState property?

630






What is difference between viewstate and session in asp net?

554


Why mvc is faster than asp.net? : Asp.Net MVC

521


Is it possible to write code in many languages in one asp.net project?

555


What are the disadvantages of asp.net?

586


What do you mean by serialize?

545


What are the events that happen when a client requests an asp.net page from iis server?

472


How long should a session id be?

520


Do cookies store passwords?

499


Explain the concept of MVC Scaffolding?

582


What is variable and constant in .net programming language?

388