hi all,
pls tell me what are all codes with examples about Catch Exception with their code for customise the exception like
below
catch (SqlException ex)
{
lblErrormsg.Text = ex.Message.ToString();
if (ex.Number.Equals(2627))
{
lblErrormsg.Text = "This Property Name was already Registered. Please select another Property Name";
}
}
Thanks
Thanks
tvn