Random r =
{
System.Drawing.Image img = System.Drawing.Image.FromFile(Server.MapPath("images/imgVerify" + val.ToString() + ".jpg"));
System.Drawing.Bitmap b =
b.Save(Global.UploadDir + "imgVerify.jpg");
imgVerify.ImageUrl = "images/imgVerify.jpg";
lblVerify.Text = GetVerifyText(val);
}
lblError.Text = "An error occurred. Sorry for the inconvenience." + exc.ToString();
Response.End();