![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
20180820提米
文章平均质量分 78
南京吴彦祖
这个作者很懒,什么都没留下…
展开
-
点击gridview增加按钮,序号自动生成
点击加号,序号自动生成原创 2018-08-29 16:01:10 · 287 阅读 · 0 评论 -
c#字符串转为json对象与json转对象
using System.Collections.Generic;using Newtonsoft.Json.Linq;using Newtonsoft.Json;using System.Web.Script.Serialization;//需要添加System.Web.Extensions.dll//字符串转jsonpublic static void strJson(){st...原创 2018-10-10 15:03:33 · 12942 阅读 · 0 评论 -
WinRAR的命令行模式与用法介绍
WinRAR的命令行模式用法介绍因工作中要对数据打包,顺便研究了下WinRAR的命令行模式,自己写了些例子,基本用法如下:测试压缩文件准备:文件夹test_data,内部包含子文件夹,分别存放了一些*.log和*.txt文件。测试代码如下:复制代码1 rem 压缩全部文件,按类型压缩,zip打包2 WinRAR.exe a num_all.zip .\test_data3 Win...转载 2018-11-16 14:02:54 · 1414 阅读 · 0 评论 -
c#往excel里写内容,包括图片
#region //第一种方式 //InsertPicToExcel ipt = new InsertPicToExcel(); //ipt.Open(); //ipt.InsertPicture("B2", @"F:\1.png"); //ipt.InsertPicture("B18", @"F:\1.png",...原创 2019-09-19 16:13:41 · 607 阅读 · 1 评论 -
InsertPicToExcel类
using System;using System.Collections.Generic;using System.Text; using System.Windows.Forms;using Microsoft.Office.Core;using Excel = Microsoft.Office.Interop.Excel;namespace TIM.T_SYSSET{ ...原创 2019-09-19 16:21:58 · 195 阅读 · 0 评论