|
I bound the GridView (Asp.net) to a data table with a date field. I want to set the DataFormatString so that he only displays the date part, and the subsequent hours, minutes, and seconds do not need to be displayed. I just tried to change DataFormatString is set to {0: yyyy-mm-dd}, HtmlEncode = false / true will not work. May I ask what kind of effect should I set to achieve? Note: The date format should be: yyyy-mm-dd |
|