title: Changing the text in a textbox with type date ASP.NET
body: <p>I am trying to set a text box (which is type = "Date") to a string value which I have taken in from a database.</p>
  
  <p>I have tried the following:</p>
  
  <pre><code>txtDOB.Text = tempRow["DOB"].ToString();
  txtDOB.Attributes = tempRow["DOB"].ToString();
  </code></pre>
  
  <p>But unfortunately I am having no luck with it.
  Thanks in advance.</p>