摘要: U9 是用友 U9 Cloud,基于BEAS 开发平台,底层 C# + .NET Framework,服务端是 IIS+WCF,数据库 SqlServer;二次开发分:插件扩展、WebService 接口、单据扩展、自定义页面、外部程序调用 U9 接口。 ⚠️ U9 二次开发不建议直接修改 U9 原 阅读全文
posted @ 2026-08-31 10:51 追逐苦痛 阅读(821) 评论(4) 推荐(0)
摘要: private void dgv_S_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) { Rectangle rectangle = new Rectangle(e.RowBounds.Location.X, e.Ro 阅读全文
posted @ 2026-08-28 14:20 追逐苦痛 阅读(20) 评论(0) 推荐(0)
摘要: private void Btn_Export_Click(object sender, EventArgs e) { if (dt == null) { MessageBox.Show(" 数据为空,不能导出, " + "\r\n 导出已经终止。", "提示:导出失败", MessageBoxBu 阅读全文
posted @ 2023-05-09 16:51 追逐苦痛 阅读(60) 评论(0) 推荐(0)
摘要: if (dgv_M.Columns[0].Name != "select") { DataGridViewCheckBoxColumn checkBoxColumn = new DataGridViewCheckBoxColumn(); checkBoxColumn.Name = "select"; 阅读全文
posted @ 2023-04-25 09:15 追逐苦痛 阅读(125) 评论(0) 推荐(0)
摘要: //定义一个文件打开控件 OpenFileDialog ofd = new OpenFileDialog(); //设置打开对话框的初始目录,默认目录为exe运行文件所在的路径 ofd.InitialDirectory = Application.StartupPath; //设置打开对话框的标题 阅读全文
posted @ 2023-04-24 16:32 追逐苦痛 阅读(125) 评论(0) 推荐(0)
摘要: select * FROM openquery (ORACLE, 'select SFAB002 FROM DSDATA.VIEW_MO WHERE SFAADOCNO = ''A05-30D-2007000632''' ) 下面是一个很好的example,可以直接拿来用。我也经常把它当一个temp 阅读全文
posted @ 2020-08-12 18:58 追逐苦痛 阅读(601) 评论(0) 推荐(0)
摘要: 一.折线图 代码: private void CreateImage() { int height = 480, width = 700; Bitmap image = new Bitmap(width,height); Graphics g = Graphics.FromImage(image); 阅读全文
posted @ 2020-05-20 17:15 追逐苦痛 阅读(928) 评论(0) 推荐(0)
摘要: SELECT E.EmpNo, E.EmpName, P.PartName, P.Part1Name, P.Part3Name, D3.InfoName AS DutyName, D15.InfoName AS SexNameFROM dbo.HR_Employee AS E LEFT OUTER 阅读全文
posted @ 2019-09-17 16:16 追逐苦痛 阅读(250) 评论(0) 推荐(0)
摘要: // 去除DataTable中重复的数据需要用到DataView,代码如下: DataView dv = new DataView(dt1);//_dt是一个DataTable类型的变量 //dt1 = dv.ToTable(true, "业务员"); //第一个参数为true,去除重复数据,fal 阅读全文
posted @ 2019-09-17 16:03 追逐苦痛 阅读(208) 评论(0) 推荐(0)
摘要: /// <summary> /// 遍历控件-Check 全部选中 /// </summary> /// <param name="control">容器控件</param> public void CheckBox_Select_all(Control control) { foreach (Co 阅读全文
posted @ 2019-04-10 14:40 追逐苦痛 阅读(188) 评论(0) 推荐(0)