上一页 1 2 3 4 5 6 ··· 11 下一页
  2024年2月27日
摘要: 窗口初始化后: 点击查看代码 //获取窗口的大小,Tag随便保存的,也可以定义变量保存 this.Tag = this.Width.ToString() + "," + this.Height.ToString(); //这一步很重要,不能隐式的去生成这个事件,就是不能直接在属性栏里面双击自动生成, 阅读全文
posted @ 2024-02-27 15:00 RookieBoy666 阅读(108) 评论(0) 推荐(0) 编辑
  2023年11月23日
摘要: 1.在catch块 return 掉 finally会执行吗? 答案:会 代码: 点击查看代码 try { int s = 1; Console.WriteLine(1); var a = 5 / (1 - s);//除以 0 捕获异常 } catch (Exception) { Console.W 阅读全文
posted @ 2023-11-23 15:58 RookieBoy666 阅读(5) 评论(0) 推荐(0) 编辑
  2023年8月29日
摘要: 1.在 SQL Server 中,MERGE INTO 是一个用于合并数据的语句,它可以根据指定的条件将数据从源表合并到目标表 点击查看代码 ``` MERGE INTO 目标表 USING 源表 ON 目标表.列 = 源表.列 WHEN MATCHED THEN -- 更新目标表中的数据 UPDA 阅读全文
posted @ 2023-08-29 17:04 RookieBoy666 阅读(206) 评论(0) 推荐(0) 编辑
  2023年8月23日
摘要: 查询数据库表、字段、备注 /************************************************************ * Code formatted by SoftTree SQL Assistant ?v5.0.97 * Time: 2020/3/24 8:50: 阅读全文
posted @ 2023-08-23 15:59 RookieBoy666 阅读(55) 评论(0) 推荐(0) 编辑
  2023年1月31日
摘要: 图片展示: AfterData事件 CodeList.pic为文本 ///加载图片 private void Picture1_AfterData(object sender, EventArgs e) { string imgStr=((String)Report.GetColumnValue(" 阅读全文
posted @ 2023-01-31 08:42 RookieBoy666 阅读(155) 评论(0) 推荐(0) 编辑
  2022年12月1日
摘要: FastReport获取子类 给Table赋值 查看代码 using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Windo 阅读全文
posted @ 2022-12-01 10:29 RookieBoy666 阅读(176) 评论(0) 推荐(0) 编辑
  2022年2月27日
摘要: FastReport打印DataTable 阅读全文
posted @ 2022-02-27 17:35 RookieBoy666 阅读(538) 评论(0) 推荐(0) 编辑
  2022年2月9日
摘要: 安装启动服务: cd C:\Windows\Microsoft.NET\Framework\v4.0.30319 InstallUtil.exe C:\Users\zjp\source\repos\LongYuElc\LongYuElc\bin\Debug\LongYuElc.exe net sta 阅读全文
posted @ 2022-02-09 13:23 RookieBoy666 阅读(57) 评论(0) 推荐(0) 编辑
  2021年12月28日
摘要: string dtJson = JsonConvert.SerializeObject(dt); DataTable data = JsonConvert.DeserializeObject<DataTable>(json); 阅读全文
posted @ 2021-12-28 09:50 RookieBoy666 阅读(94) 评论(0) 推荐(0) 编辑
  2021年12月24日
摘要: DataSourceBase data1 = Report.GetDataSource("WkpMess"); // 获取数据源 data1.Init(); // 初始化 string finalstr=""; while(data1.HasMoreRows) // 打印重复循环的行 { strin 阅读全文
posted @ 2021-12-24 14:45 RookieBoy666 阅读(1315) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页