How To Set a Date Format In GridView Using ASP.NET 2.0
(Using HtmlEncode Property)
Wednesday 24 May 2006 @ 11:57 am
How To Set a Date Format In GridView Using ASP.NET 2.0 (Using HtmlEncode Property) (AKA, the DataFormatString=”{0:M-dd-yyyy}” Problem)   A very common desire is to set a column of a gridview to display just the month, day and year of a DateTime type. The problem is the by default, the HtmlEncode property of the boundfield […]

more...