title: Date Binding in TextBox in ListView
body: <p>I have a ListView and in it there is a field with some date coming from the database. Now when I click on the Edit button, in the next Edit Page I want to show the exact date in the particular date field.</p>
  
  <p>See the following screenshots:</p>
  
  <p>Main View:</p>
  
  <p><img src="https://i.stack.imgur.com/1UhCj.jpg" alt="enter image description here"></p>
  
  <p>After clicking:</p>
  
  <p><img src="https://i.stack.imgur.com/9k4jS.jpg" alt="enter image description here"></p>
  
  <p>I have written the following code to bind the date:</p>
  
  <pre><code>&lt;asp:TextBox runat="server" Text='&lt;%#Bind("FirstVisitDate", "{0:MM/dd/yyyy}") %&gt;' ID="FirstVisitDate" CssClass="form-control" TextMode="date" /&gt;
  </code></pre>
  
  <p>But this is not working.</p>