09 2017 档案
摘要:看来N会包含数千个分隔符,而0.00则不会。 N2将以500.00的方式工作,但是当您有5000.00时,N2将显示为 5,000.00 代替 5000.00 If you do this instead: 0.ToString("0.##"); you get: 0 Interestingly,
阅读全文
摘要:数字:^[0-9]*$ n位的数字:^\d{n}$ 至少n位的数字:^\d{n,}$ m-n位的数字:^\d{m,n}$ 零和非零开头的数字:^(0|[1-9][0-9]*)$ 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$ 带1-2位小数的正数或负数:
阅读全文
摘要:默认状态下gridview不支持接口集合,即不支持属性类型为IEnumerable<T>或者扩展的IList<T>,只能乖乖的转成List等实体集合,这种取舍就是鱼和熊掌了,如果两者都要的话,其实devexpress官方在gridview有一个隐藏的属性,一个功能强大的属性,之前在获取gridvie
阅读全文
摘要:gvCabTotalInfo.Columns["出线平均<br>电压"].SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Average; gvCabTotalInfo.Columns["出线平均<br>电压"].SummaryIt
阅读全文
摘要:源文: http://blog.csdn.net/l1158513573/article/details/46728721 DevExpress中chartControl中实现统计图功能
阅读全文
摘要:DevExpress中GridControl列转义的实现方法 https://ctolib.com/topics-51143.html
阅读全文
摘要:https://ctolib.com/topics-51075.html DevExpress实现根据行,列索引来获取RepositoryItem的方法
阅读全文
摘要:代码使用方法如下: gcLampConfig.UIThread<GridControl>(gc => gvLampConfig.ClearRows());
阅读全文
摘要:原文:https://ctolib.com/topics-52571.html C#实现DevExpress本地化实例详解 http://www.cnblogs.com/kshyrj/archive/2011/12/09/2281769.html DevExpress WinForm 控件汉化方法
阅读全文
摘要:ExecuteScalar is typically used when your query returns a single value. If it returns more, then the result is the first column of the first row. An e
阅读全文
摘要:DisplayFormat 设置显示格式如:{0:P}表示显示为百分号模式。如数据源中为0.5。表示出来为50% 2、GridContro总合计及分组合计: 常规总合计直接RunDesigner-Group Summary Items DisplayFormat 设置显示格式如:{0:P}表示显示为
阅读全文
摘要:DevExpress的DateEdit设置显示日期和时间 http://blog.csdn.net/david_520042/article/details/51096975 1. 设置Mask.EditMask和DisplayFormat,EditFormat属性,设置为一致:'yyyy-MM-d
阅读全文