|
|
|
start date: Fri, 10 Aug 2007 14:35:33 -0300,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
Paulo
|
|
2
Siva M
|
|
3
Paulo
|
Template GridView
Hi, I have a template wich shows a DateTime returned from the SQL server,
but where do I put a function wich returns only the date not the time?
<asp:Label ID="Label9" runat="server" Text='<%# Bind("DATA_CONTRATO")
%>'></asp:Label>
Can you help me ?
Date:Fri, 10 Aug 2007 14:35:33 -0300
Author:
|
RE: Template GridView
<%# Bind ("DATA_CONTRATO", "{0:dd/MM/yyyy}") %>
"Paulo" wrote:
> Hi, I have a template wich shows a DateTime returned from the SQL server,
> but where do I put a function wich returns only the date not the time?
>
> <asp:Label ID="Label9" runat="server" Text='<%# Bind("DATA_CONTRATO")
> %>'></asp:Label>
>
> Can you help me ?
>
>
>
Date:Fri, 10 Aug 2007 11:00:00 -0700
Author:
|
Re: Template GridView
Thanks a lot Siva, worked... but how do you know all the functions and these
tricks that .net can do?
Do you have any didatic sites/materials wich teachs these tricks and tips?
thanks!
"Siva M" escreveu na mensagem
news:ECE7A8F1-97CD-4882-B11F-A0D933C9403C@microsoft.com...
> <%# Bind ("DATA_CONTRATO", "{0:dd/MM/yyyy}") %>
>
> "Paulo" wrote:
>
>> Hi, I have a template wich shows a DateTime returned from the SQL server,
>> but where do I put a function wich returns only the date not the time?
>>
>> <asp:Label ID="Label9" runat="server" Text='<%# Bind("DATA_CONTRATO")
>> %>'></asp:Label>
>>
>> Can you help me ?
>>
>>
>>
Date:Fri, 10 Aug 2007 15:22:31 -0300
Author:
|
|
|