S
Seli
Hello
I would like to format a date in the DataGrid to be 3.3.2004 and not with the time (default?) 3.3.2004 00:00:00!
<asp
ataGrid id="DataGrid1" style="Z-INDEX: 102; LEFT: 80px; POSITION: absolute; TOP: 264px
runat="server"> AutoGenerateColumns="True" </asp
ataGrid
DataGrid1.DataSource=ds.Tables["Products"].DefaultView
DataGrid1.DataBind()
DataGrid1.Columns[0].DataFormatString = "{0:d}"
The last line does not work
Thank
Seli
I would like to format a date in the DataGrid to be 3.3.2004 and not with the time (default?) 3.3.2004 00:00:00!
<asp
runat="server"> AutoGenerateColumns="True" </asp
DataGrid1.DataSource=ds.Tables["Products"].DefaultView
DataGrid1.DataBind()
DataGrid1.Columns[0].DataFormatString = "{0:d}"
The last line does not work
Thank
Seli