Fromat DateTime in GridView

<asp:BoundField DataField="date" HeaderText="My date" HtmlEncode="False" DataFormatString = "{0:d}"  ReadOnly="True" />

http://www.codedigest.com/Articles/ASPNET/137_How_to_format_DateTime_in_GridView_BoundColumn_and_TemplateColumn.aspx

programming/net/formatdatetimeingridview.txt · Last modified: 2018-06-21 19:48 (external edit)
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0