11 2020 档案

摘要:ComboGrid的LimitToList属性控制下拉是否为下拉数据源中数据光标可否移走 1.false;不是下拉数据源中可以移走光标;true可以移走光标。 用途可以用为用户必填项正确项。 阅读全文
posted @ 2020-11-17 15:43 博客YS 阅读(108) 评论(0) 推荐(0) 编辑
摘要:1. //获取小数'.'左边的个数 text.IndexOf('.')//从索引0开始截取,截取到第2位 text.ToString().Substring(0, 2); decimal text = 1.2345; //获取结果为1 string xnumStr = text.ToString() 阅读全文
posted @ 2020-11-17 15:13 博客YS 阅读(2389) 评论(0) 推荐(0) 编辑
摘要:#region linq 方法1 List<ChgDtlVo> sumData = tempList.GroupBy(t => new { t.ChgId, t.OdStd, t.BatNo, t.OdAppno }).Select (m => new ChgDtlVo() { //名称 ChgNa 阅读全文
posted @ 2020-11-04 20:44 博客YS 阅读(1393) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示