2019年12月11日
摘要: //list获取某一列的和 decimal total = detailList.Sum(n => n.Amount); 可空类型转换int? int int? test = null; //定义一个int?赋值空 int a = test ?? 0; //test??0 当test不为空时,直接返 阅读全文
posted @ 2019-12-11 10:27 Smile向前 阅读(72) 评论(0) 推荐(0) 编辑
摘要: gridView.Columns[0].OptionsColumn.AllowEdit = false;//第一列不可编辑 阅读全文
posted @ 2019-12-11 10:26 Smile向前 阅读(329) 评论(0) 推荐(0) 编辑