protected void Button1_Click(object sender, EventArgs e) { var gettxtimagecode = txtimgcode.Value; // textbox value that the users enter check if textbox value == CaptchaText if (gettxtimagecode == this.Session["CaptchaImageText"].ToString()) { else { lblmsg.Text = "Image text is wrong!"; } this.txtimgcode.Value = ""; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)