【问题标题】:Combobox column in Devexpress ASPxGridView shows Datetime instead of DateDevexpress ASPxGridView 中的组合框列显示日期时间而不是日期
【发布时间】:2011-12-15 21:17:09
【问题描述】:

我使一列 id GridView 是从存储过程中查找的。存储过程正在连接两个表,queston 中的日期是日期,而不是日期时间,但在 GridView 中显示为 Date + 0:00:00。

知道如何解决这个问题吗?

(普通列日期可以,但是这个查找列是错误的)。

【问题讨论】:

    标签: asp.net devexpress


    【解决方案1】:

    尝试使用 DisplayFormatString:documentationdemo。对于一般日期和时间格式字符串文档,请查看here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-07-24
      • 2022-12-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多