protected void btnsubmit_Click(object sender, EventArgs e) { ds = loginDA.Insertcontactdetails(txtfirstname.Text, txtlastname.Text, txtemail.Text, phoneno.Text, inquiry.InnerHtml, chkemail.Checked.ToString(), chkphone.Checked.ToString()); lblmessage.Text = "Inquiry successfully submitted.We will contact you soon."; txtemail.Text = ""; txtfirstname.Text = ""; txtlastname.Text = ""; phoneno.Text = ""; chkphone.Checked = false; chkemail.Checked = false; inquiry.InnerHtml = ""; }