日期:2014-05-18  浏览次数:20857 次

格式化
<asp:DetailsView   ID= "DetailList "   runat= "server "   AutoGenerateRows= "False ">
<Fields>
                                <asp:BoundField   DataField= "changeDate "   HeaderText= "调动日期 "  
DataFormatString= "{0:yyy-MM-dd} "   />

结果显示:2007-5-24   0:00:00
怎么回事儿


------解决方案--------------------
HtmlEncode = "false "