protected void Page_Load(object sender, EventArgs e) { if (IsPostBack == false) { CaptchaCode_Generator captchaCode_Generator = new CaptchaCode_Generator(); Captcha_lbl.Text = captchaCode_Generator.codeGenerator(); } }
protected void Refresh_Captcha_Click(object sender, EventArgs e) { CaptchaCode_Generator captchaCode_Generator = new CaptchaCode_Generator(); Captcha_lbl.Text = captchaCode_Generator.codeGenerator(); }