以下转化字符串格式为什么不可以,
我希望得到短日期和货币形式
<asp:BoundField DataField= "OrderDate " DataFormatString= "{0:D} " HeaderText= "订单日期 " />
<asp:BoundField DataField= "ordertotal " DataFormatString= "{0:C2} " HeaderText= "订货总计 " />
<asp:BoundField DataField= "ShipDate " DataFormatString= "{0:d} " HeaderText= "出货日期 " />
------解决方案--------------------语法错误