protected void Page_Load(object sender, EventArgs e)
 {
     if (IsPostBack == false)
     {
         CaptchaCodeAndImage = cg.GetRandomCodeAndImage();
         ImgCaptcha.ImageUrl = CaptchaCodeAndImage[1];
     }
 }
Beispiel #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (IsPostBack == false)
     {
         AddState();
         CaptchaCodeWithImage = cg.GetRandomCodeAndImage("CaptchaImg");
         ImgCaptcha.ImageUrl  = "CaptchaImg/" + CaptchaCodeWithImage[1];
     }
 }