title: set date on textbox whose mode is date
body: <p>This is source code  </p>
  
  <pre><code>&lt;asp:TextBox ID="txtDOB" runat="server" TextMode="Date" Width="180px"&gt;&lt;/asp:TextBox&gt;
  
   string date = read["DateOfBirth"].ToString();
   string cDate = Convert.ToDateTime(date).ToString("MM/dd/yyyy");
   txtDOB.Text = cDate;
  </code></pre>
  
  <p>and I want to set date from my db the textbox whose mode is date , and I am unable to it with this code</p>