or
Text='<%# FormatDateTime( Bind("Datum"), 1) %>'
--
Thank you in Advance.
Bruno Alexandre
(a Portuguese in Denmark)
"Richard Anacker" <news-2006-> escreveu na mensagem
news:mnk68hrv4arx$....
> Am 19.04.2006 schrieb Richard Anacker:
>
>> <Columns>
>> <asp:BoundField DataField="Datum"
>> DataFormatString="{0:ddd, dd.MM.yyyy}" HeaderText="Datum"
>> SortExpression="Datum" />
>
> Ok, got it.
>
> After entering a DataFormatString in design-view and after that
> changing the field to templateField the markup showes
>
> <ItemTemplate>
> <asp:Label ID="Label1" runat="server" Text='<%# Bind("Datum",
> "{0:ddd, dd.MM.yyyy}") %>'></asp:Label>
> </ItemTemplate>
>
> and this works now.
>
> richie
|