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

Is asp.net mvc still used? : Asp.Net MVC

729


What is a global postback url?

733


What threading model used in asp and asp.net?

794


How does asp.net page work?

725


Explain the difference between web user control and web custom control?

750


How do I know asp.net mvc version? : Asp.Net MVC

753


Define a static class?

737


Explain about secure socket layer?

735


Explain the different types of assemblies?

740


How does a content page differ from a master page?

745


What is difference between viewstate and session state in javascript?

850


what are the Custom controls in asp.net?

793


What is the difference between web.config and machine.config in ASP.NET?

848


Is post back property in asp net?

771


What permissions do asp.net applications posses by default?

852