how to handle the exceptions??????

  • Thread starter Thread starter Karunakararao
  • Start date Start date
K

Karunakararao

Hi

I'm facing an issue in Exception handling, help is highly appreciated.
Let us assume there is :
1) abc.aspx page
2) DatabaseConnection.cs (Database connection is handling over here)
3) ErrorPage.aspx

I'm calling a method from abc.aspx which opens the database connection by
using the DatabaseConnection.cs. Assume if the Open connection method fails
and throwing some OleDbException , at this moment I want to show the error
in the ErrorPage.aspx instead showing some junk message which .net throws.

Urgent!!!!

Thanks
Venu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top