protected void TextBox1_TextChanged(object sender, EventArgs e) { int num = 0; // string status = xemail.Text; num = z.a_xadminz2(this.xemail.Text.Trim(), base.Server.MapPath("~/")); // return num; // int vv = z.getUserCount2(xemail.Text); if (num > 0) { string vmessage = "Email Already Exist "; Page.ClientScript.RegisterStartupScript(this.GetType(), "showDialogue", "showDialogue('" + vmessage + "');", true); this.xemail.Text = ""; return; } }