12 2019 档案

摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 5 namespace Nany.Web.Trans 6 { 7 public class AccessToken 8 { 9 private str 阅读全文
posted @ 2019-12-19 15:04 Haoeaoi 阅读(3163) 评论(1) 推荐(0) 编辑
摘要://RowCellStyle 行单元格样式事件 //用于设置行单元格样式 //这里举例 如果状态为0则白背景色改为蓝绿色 if(e.RowHanle>=0)//当前视图的所有行 { DataRow dr =this.view.GetRow(e.RowHanle);//获取所有行的数据 if(dr== 阅读全文
posted @ 2019-12-19 14:02 Haoeaoi 阅读(1390) 评论(0) 推荐(0) 编辑
摘要:1 //获取当前焦点行该列的值 2 1、this.viewCateMonthTarget.GetFocusedRowCellValue(colOrgName).ToString(); //colOrgName自定义的列名 3 4 2、this.viewCateMonthTarget.GetFocus 阅读全文
posted @ 2019-12-19 11:19 Haoeaoi 阅读(2349) 评论(0) 推荐(0) 编辑
摘要:1 1 try{ } 5 catch (Exception ex) 6 { 7 //如果报错返回内容为 UK_BT_CHECK_MST__SH_CODE(这个是我定义的唯一键,当保存触发唯一约束进入判断)【报错内容】 //适用于保存及多方场景 8 if (ex.Message.Contains("U 阅读全文
posted @ 2019-12-18 15:34 Haoeaoi 阅读(785) 评论(0) 推荐(0) 编辑

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