title: Clear Password TextBox in C#.Net
body: <p>In the Update Mode, I have retrieved the Entered Password like below:</p>
  
  <pre><code>    txtConfirmPassword.Attributes["value"] = DR["Password"].ToString();
  </code></pre>
  
  <p>But in the Add Mode, I want to clear this TextBox "txtConfirmPassword". I have given like below:</p>
  
  <pre><code>    txtConfirmPassword.Text = "";
  </code></pre>
  
  <p>But it is not clearing. How to clear this TextBox?</p>