C# DEV--DateEdit长日期
2024-09-26 06:19:58
参考博客: DevExpress的DateEdit设置显示日期和时间
this.datBeginTime.Properties.VistaEditTime = DevExpress.Utils.DefaultBoolean.True; this.datEndTime.Properties.VistaEditTime = DevExpress.Utils.DefaultBoolean.True; this.datBeginTime.Properties.VistaDisplayMode = DevExpress.Utils.DefaultBoolean.True; this.datEndTime.Properties.VistaDisplayMode = DevExpress.Utils.DefaultBoolean.True; this.datBeginTime.EditValue = DateTime.Now; this.datEndTime.EditValue = DateTime.Now; this.datBeginTime.Properties.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; this.datBeginTime.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.datBeginTime.Properties.EditFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; this.datBeginTime.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.datBeginTime.Properties.Mask.EditMask = "yyyy-MM-dd HH:mm:ss"; this.datEndTime.Properties.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; this.datEndTime.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.datEndTime.Properties.EditFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; this.datEndTime.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.datEndTime.Properties.Mask.EditMask = "yyyy-MM-dd HH:mm:ss";
最新文章
- web 前端(轮番插件)
- 1.1Axure简介
- php 迭代器使用
- C# Thread挂起线程和恢复线程
- Moto G 通话没声音
- Java-异常Throwable,Exception,Error
- coco2dx服务器简单例子
- Route Filters
- MySQL被Oracle并购后的409个日日夜夜
- 转 Oracle全文检索http://docs.oracle.com/cd/E11882_01/text.112/e24436/toc.htm
- idea中使用scala运行spark出现Exception in thread ";main"; java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
- java编程规范之java命名规范
- 使用httperrequest,模拟发送及接收Json请求
- Python系列之内置函数
- PostgreSQL自学笔记:6 PostgreSQL函数
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar报错
- [转][easyui]右键菜单
- 【C】常用的字符串函数
- Linux route
- Archlinux下virtualbox报错'/sbin/rcvboxdrv setup'
热门文章
- php 获取当前脚本的url的案例
- UAPStudio授权过期的解决方法,重新授权
- PHP IDE phpstorm 常用快捷键
- memcached学习笔记2--安装及命令
- Bootstrap页面布局19 - BS提示信息
- but this usually doesn’t gain you anything.
- Andrew Ng机器学习公开课笔记–Principal Components Analysis (PCA)
- spring-3-mvc-hello-world-example
- android ListView详解继承ListActivity
- [Virtualization][SDN] VXLAN到底是什么 [转]