Clear Textboxs on submit
<p>Hi i am looking to clear text boxs when a user clicks a button. However the code that i have is not working. Here is my code.</p>

<pre><code>System.Net.Mail.MailMessage m = new System.Net.Mail.MailMessage();
            m.Body = name.Text + Environment.NewLine + phone.Text + Environment.NewLine + email.Text + Environment.NewLine + message.Text;
            m.IsBodyHtml = false;
            m.To.Add("support@");
            m.From = new System.Net.Mail.MailAddress(email.Text);
            m.Subject = "Contact us form submisson";
            m.Headers.Add("Reply-To", "your email account");

            System.Net.Mail.SmtpClient s = new System.Net.Mail.SmtpClient();
            s.UseDefaultCredentials = false;
            s.Credentials = c;
            s.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
            s.EnableSsl = true;
            s.Port = 587;
            s.Host = "smtp.gmail.com";

            s.Send(m);

            lblCorrectCode.Text = "Contact Form Has been submited we will be in touch shortly";

            name.Text = string.Empty;
            phone.Text = string.Empty;
            email.Text = string.Empty;
            message.Text = string.Empty;
</code></pre>
