摘要:
DataList和Repeater、ListView中都可以用以下方式提取年月日:<%#Convert.ToDateTime(DataBinder.Eval(Container.DataItem,"RecoverTime")).ToString("yyyy-MM-dd")%>在GridView中可以用另一种方式提取年月日: <asp:BoundField DataField="BeginDate" HeaderText="开始日期" DataFormatString="{0:yyyy-M 阅读全文
posted @ 2011-12-06 23:24
塰杺茚佡
阅读(738)
评论(0)
推荐(0)

浙公网安备 33010602011771号