摘要: https://gitee.com/ZJ69719496/console-ext/blob/master/ConsoleColor/ConsoleExt.cs#源文档 已发布到nugethttps://www.nuget.org/packages/ConsoleExtClass/ 安装Install 阅读全文
posted @ 2021-05-17 16:42 清风神剑 阅读(138) 评论(0) 推荐(0)
摘要: using Aspose.Words;using Aspose.Words.Drawing;using Aspose.Words.Tables; /// <summary> /// 行合并,根据同名合并,同名必须先排序排好 /// </summary> /// <param name="table" 阅读全文
posted @ 2021-04-06 17:20 清风神剑 阅读(1206) 评论(0) 推荐(0)
摘要: 安装NPOI.Excel ,NPOI using System;using System.Collections.Generic;using System.DirectoryServices;using System.IO;using System.Reflection;using Newtonso 阅读全文
posted @ 2021-03-20 13:45 清风神剑 阅读(720) 评论(0) 推荐(0)
摘要: docx插入域基本方法 打开文件 AsposeWordHelper helper = new AsposeWordHelper(); string templatePath = HttpContext.Current.Server.MapPath("~/Word/11.docx"); //模板路径 阅读全文
posted @ 2021-03-19 17:16 清风神剑 阅读(1199) 评论(0) 推荐(0)
摘要: 效果图,改了图标 样式树 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xa 阅读全文
posted @ 2021-02-19 12:01 清风神剑 阅读(3027) 评论(1) 推荐(1)
摘要: <!--1V按钮样式--> <Style TargetType="Button" x:Key="UButtonStyleOneVideo"> <Setter Property="Height" Value="20" /> <Setter Property="Width" Value="20" /> 阅读全文
posted @ 2021-02-19 11:52 清风神剑 阅读(711) 评论(0) 推荐(0)
摘要: 导出Excel在谷歌没问题,在IE下就。。。不得不吐槽,我用微软的技术导出微软的东西居然乱码,在谷歌居然不乱码。。。 解决办法:先贴高手的 https://blog.csdn.net/u014353113/article/details/84784680 /// <summary> /// 通过流导 阅读全文
posted @ 2020-02-25 17:22 清风神剑 阅读(670) 评论(2) 推荐(0)
摘要: 处理图片的时候发生 GDI+中发生一般性错误 我知道的原因有4个 1. 相应的帐户没有写权限。 解决方法:增加权限,赋予 NETWORK SERVICE 帐户以写权限。 2. 指定的物理路径不存在。解决方法:在调用 Save 方法之前,先判断目录是否存在,若不存在,则创建。 网络中应该使用虚拟路径, 阅读全文
posted @ 2019-10-24 14:35 清风神剑 阅读(1109) 评论(0) 推荐(0)
摘要: 先引入包 下文中context是https方式用到 context = ssl._create_unverified_context() 1.get 2.post values = {} values["token"] =token values["CustomApp"]="Web" 3.请求结果j 阅读全文
posted @ 2019-06-13 16:51 清风神剑 阅读(206) 评论(0) 推荐(0)
摘要: 删除C#生成的bin和obj内文件。 阅读全文
posted @ 2019-05-23 11:28 清风神剑 阅读(195) 评论(0) 推荐(0)