绑定并设定绑定项的显示格式 <%# DataBinder.Eval(Container, "DataItem.startDate", "{0:yyyy-MM-dd}") %> 找了好久才找到怎么设定绑定的格式..startDate字段在数据库里是datatime型的,其它类型的应该也可以这么设定.