Exemple #1
0
        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            contactCL.emailId   = txtUserEmail.Text;
            contactCL.name      = txtname.Text;
            contactCL.query     = txtMsg.Text;
            contactCL.mobNo     = txtCountryCode.Text + txtMobNo.Text;
            contactCL.cityId    = Convert.ToInt32(ddlCity.Text);
            contactCL.dateAdded = DateTime.Now;
            ContactCL contact = contactBLL.createContact(contactCL);

            //ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('successfully submitted.  !!')", true);
            lblTextMsg.Text = "Thankyou  for contacting us. We will get back to you soon!!!!";
            //ClearText(this);
        }