R
ronrogell
I would like to format a date field in a GridView that is defined as a
varchar. Here is the bound field that I am trying to format. What am
I doing wrong? Can this only be done for DateTime fields?
<asp:BoundField DataField="FILE_PROCESS_DATE" HeaderText="Process Date"
DataFormatString="{0:MM/dd/yyyy}" HtmlEncode="False" />
Thanks,
Ron
varchar. Here is the bound field that I am trying to format. What am
I doing wrong? Can this only be done for DateTime fields?
<asp:BoundField DataField="FILE_PROCESS_DATE" HeaderText="Process Date"
DataFormatString="{0:MM/dd/yyyy}" HtmlEncode="False" />
Thanks,
Ron