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
 
Back
Top