L
Ludovic DE FREITAS
Hello,
I have a ASP.Net page where I use the new two-way binding.
Unfortunatly the Update have problem with DateTime format.
I use a TextBox : <asp:TextBox runat="server" id="tbDate" Text='<%#
Bind("MyDate","{0:dd/MM/yyyy}") %>
The Binding (display) works, but the Update use another format "MM/dd/yyyy".
I have try to change the Thread Culture, the browser culture, the server
regional settings and nothing works.
I have check the UpdateItem with Reflector in FormView class, ans It seems
that the InvariantCulture is used to convert string to DateTime !!!
Can anyone help me with this problem ?
Thanks.
I have a ASP.Net page where I use the new two-way binding.
Unfortunatly the Update have problem with DateTime format.
I use a TextBox : <asp:TextBox runat="server" id="tbDate" Text='<%#
Bind("MyDate","{0:dd/MM/yyyy}") %>
The Binding (display) works, but the Update use another format "MM/dd/yyyy".
I have try to change the Thread Culture, the browser culture, the server
regional settings and nothing works.
I have check the UpdateItem with Reflector in FormView class, ans It seems
that the InvariantCulture is used to convert string to DateTime !!!
Can anyone help me with this problem ?
Thanks.