3.1.09

Try Catch in Asp.net Code

try
{
if (!Page.IsPostBack)
{
bindCategories();

}
}
catch (Exception)
{
Response.Redirect("error.aspx");
}

No comments: