Q:

Date format in strong typed ListView's EditItemTemplate

This is my markup for EditItemTemplate section of a ListView, i want to render short dates format:   
<asp:TextBox ID="txtFechaArribo" runat="server" Text='<%# string.Format("{0:dd/MM/yyyy}", BindItem.FechaArribo ) %>'>

Which produce the runtime exception :

BindItem does not exist in the current context

Without format expression it works but with the not desired time component. Advices?

A:

You can use Bind("FechaArribo","{0:d}"), although it will technically be a breach of strong-typing.

