title: How to set the value of a textbox textmode=date ASP.NET C#
body: <p>Please help me if you can.</p>
  
  <p>I'm trying to set a textbox textmode=date from a variable.</p>
  
  <p>It's like this:</p>
  
  <pre><code>txtDataDespesa.Text = d.DataDespesa.ToShortDateString();
  </code></pre>
  
  <p>The problem is, when I go to visualize the page, the value of <code>d.DataDespesa.ToShortDateString()</code> isn't showing in the txtDataDespesa, instead is the default values <code>dd/mm/yyyy</code></p>
  
  <p>Thanks in advance.</p>