Tuesday 22 July 2014

Try Catch easy way Exception alerts

try{do some thing}
catch (Exception ex)
            {

                Response.Write("<script>alert(\"Failed to announcement Please contact to administrator\")</script>");

               // MessageBox.Show("Failed to announcement Please contact to administrator");

            }

No comments:

Post a Comment