Error handle

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Karunakararao (karunakararaop_at_i-vantage.com)
Date: 06/03/04


Date: Thu, 3 Jun 2004 22:21:09 +0530


Iam trying like this in VB.NET

Try
Catch expFillList As Exception
             Err.Raise(1, Err.Source, Err.Description)
    End Try

how can i write in C# in database.cs

how can i write in C# code like raising error in ERROR.aspx

Thank u
Venu