try
{
}
catch (System.Data.SqlClient.SqlException ex)
{
alert.Visible = true;
if (ex.Number == 2657)
{
alert.InnerHtml=“duplicate username…”;
}
else
{
alert.InnerHtml=“…”;
}
}
catch
{
alert.Visible=true;
alert.InnerHtml=“oop…”;
}
alert نام تگ h3 است.