jleone
01-11-2007, 04:12 PM
OK, did lots of google searching on this and I keep coming up with the same thing. My problem is I'm trying to format a date field in my datagrid. I want to get rid of the time.
My dataformatstring is set to {0:mm/dd/yyyy} AND my HTMLEncode is set to FALSE (which is the supposed fix I find everywhere on the web). However, this is not working. Any suggestions from those who do have it working or know how else to make it work? Should I remove the column from the datagrid and re-add it back?
NOTE: I had no problems with formatting my "currency" fields on other datagrids on other pages in my project.
My dataformatstring is set to {0:mm/dd/yyyy} AND my HTMLEncode is set to FALSE (which is the supposed fix I find everywhere on the web). However, this is not working. Any suggestions from those who do have it working or know how else to make it work? Should I remove the column from the datagrid and re-add it back?
NOTE: I had no problems with formatting my "currency" fields on other datagrids on other pages in my project.