probably there are better ways to do this... but it still works...
"Mark Rae [MVP]" <mark@markNOSPA Mrae.netescreve u na mensagem
news:O%235QqXbR JHA.3808@TK2MSF TNGP02.phx.gbl. ..
"Bobby Edward" <bobby@nobody.c omwrote in message
news:OSoUkFbRJH A.5080@TK2MSFTN GP03.phx.gbl...
>
>What is the formatstring for mm/dd/yy (gridview column)? I always want
>it to be 6 digits. Thanks.
>
I'm slightly confused because the format string for mm/dd/yy is
"mm/dd/yy", so I presume that this isn't actually what you mean - please
clarify...
>
Also, be aware that not only is the above format not Y2k compatible, it's
also completely ambiguous depending where you are in the world...
>
>
--
Mark Rae
ASP.NET MVP http://www.markrae.net
you may convert the column into a template field and format de bind...
>
<asp:label (...) text='<%# format(Eval("Da te"),"MM/dd/yy")%>' />
>
probably there are better ways to do this... but it still works...
>
>
"Mark Rae [MVP]" <mark@markNOSPA Mrae.netescreve u na mensagem
news:O%235QqXbR JHA.3808@TK2MSF TNGP02.phx.gbl. ..
>>What is the formatstring for mm/dd/yy (gridview column)? I always want
>>it to be 6 digits. Thanks.
>>
>I'm slightly confused because the format string for mm/dd/yy is
>"mm/dd/yy", so I presume that this isn't actually what you mean - please
>clarify...
>>
>Also, be aware that not only is the above format not Y2k compatible, it's
>also completely ambiguous depending where you are in the world...
>>
>>
>--
>Mark Rae
>ASP.NET MVP
>http://www.markrae.net
"Spider" <NetSpidertj@21 cn.comwrote in message
news:e3r5K6fRJH A.1908@TK2MSFTN GP04.phx.gbl...
>>Also, be aware that not only is the above format not Y2k compatible,
>>it's also completely ambiguous depending where you are in the world...
>>
>you may convert the column into a template field and format de bind...
>>
><asp:label (...) text='<%# format(Eval("Da te"),"MM/dd/yy")%>' />
>>
>probably there are better ways to do this... but it still works...
>>you may convert the column into a template field and format de bind...
>>
><asp:label (...) text='<%# format(Eval("Da te"),"MM/dd/yy")%>' />
>>
>probably there are better ways to do this... but it still works...
Comment