<asp:BoundColumn DataField="time1" HeaderText="发布时间" DataFormatString="{0:MM-dd}"></asp:BoundColumn>

解决方案 »

  1.   

    <asp:BoundColumn DataField="time1" HeaderText="发布时间" DataFormatString="{0:MM月dd日}"></asp:BoundColumn>
      

  2.   

    上面显示:06月20日
    <asp:BoundColumn DataField="time1" HeaderText="发布时间" DataFormatString="{0:M月dd日}"></asp:BoundColumn>
    显示6月20日
      

  3.   

    month(date) & "月" & day(date) &"日"
      

  4.   

    非常感谢上面几位朋友,但还有一点点,现在显示为06月-21日,能否把  -   去掉,变成06月21号.
    jhpcom(jhpcom)真的非常感谢您能这么热心.