摘要: 1.NuGet 添加Npoi.Mapper 引用 2.初始化 private void button1_Click(object sender, EventArgs e) { //数据导出测试 List<Person> persons = new List<Person>(); persons.Ad 阅读全文
posted @ 2022-08-18 09:52 互联网CV工程师 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 首先NuGet 添加Log4Net引用 1.直接添加一个帮助类 using log4net; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Thre 阅读全文
posted @ 2022-08-18 09:28 互联网CV工程师 阅读(637) 评论(0) 推荐(1) 编辑
摘要: ## Ignore Visual Studio temporary files, build results, and## files generated by popular Visual Studio add-ons.#### Get latest from https://github.com 阅读全文
posted @ 2022-08-11 10:45 互联网CV工程师 阅读(333) 评论(1) 推荐(0) 编辑
摘要: using Spire.Xls; using System.Linq; namespace WrapperPrint.Tools { /// <summary> /// 因为npoi应不会真正删除行,只会清除数据,导致打印出来空标签 /// 所以增加此帮助类删除数据。 /// nuget引入Free 阅读全文
posted @ 2022-08-09 15:59 互联网CV工程师 阅读(1066) 评论(0) 推荐(0) 编辑
摘要: using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using NPOI.SS.Util; using NPOI.XSSF.UserModel; using System; using System.Collections.Generic; usi 阅读全文
posted @ 2022-08-09 15:58 互联网CV工程师 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1、把/home目录下面的data目录压缩为data.zip zip -r data.zip data #压缩data目录 2、把/home目录下面的data.zip解压到databak目录里面 unzip data.zip -d databak 3、把/home目录下面的a文件夹和3.txt压缩成 阅读全文
posted @ 2022-07-16 12:41 互联网CV工程师 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 一.拟机Linux配置Ip 1.虚拟机网络配置 2.进入虚拟机查看IP ip addr 3.进入网卡根目录下 cd /etc/sysconfig/network-scripts/ 4.编辑网卡配置文件 vim或者vi ifcfg-ens33 原始文件: 5.修改后 6.保存并退出 wq 7.刷新网络 阅读全文
posted @ 2022-07-16 12:15 互联网CV工程师 阅读(98) 评论(0) 推荐(0) 编辑
摘要: mysql常用方法 总结: limit 1、当 limit后面跟一个参数的时候,该参数表示要取的数据的数量 例如 select* from user limit 3 表示直接取前三条数据 2、当limit后面跟两个参数的时候,第一个数表示要跳过的数量,后一位表示要取的数量,例如 select * f 阅读全文
posted @ 2022-07-15 17:32 互联网CV工程师 阅读(22) 评论(0) 推荐(0) 编辑
摘要: using System.Collections.Generic; using System; using Newtonsoft.Json; using MessgaeApi; namespace MessageApi { public class MessageHelper { static lo 阅读全文
posted @ 2022-07-15 17:25 互联网CV工程师 阅读(271) 评论(0) 推荐(0) 编辑
摘要: using Mes.Common; using SqlSugar; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using Syste 阅读全文
posted @ 2022-07-15 17:17 互联网CV工程师 阅读(991) 评论(0) 推荐(0) 编辑