2008年9月27日

UltraWinGrid常用技巧

摘要: 1 委托 this.ultraGrid1.AfterCellUpdate -= new Infragistics.Win.UltraWinGrid.CellEventHandler(this.ultraGrid1_AfterCellUpdate); this.ultraGrid1.Rows[0].Cells["字段名"].Value = ""; this.ultraGr... 阅读全文
posted @ 2008-09-27 16:07 sherry 阅读(8158) 评论(0) 推荐(0) 编辑

C#日期格式化

摘要: C#日期格式化 日期转化一 为了达到不同的显示效果有时,我们需要对时间进行转化,默认格式为:2007-01-03 14:33:34 ,要转化为其他格式,要用到DateTime.ToString的方法(String, IFormatProvider),如下所示: using System; using System.Globalization; String format="D"; DateTime... 阅读全文
posted @ 2008-09-27 16:06 sherry 阅读(332) 评论(0) 推荐(0) 编辑