会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
清风神剑
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2021年5月17日
Console 控制台添加颜色 Nuget版
摘要: 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)
2021年4月6日
C# Aspose.Words 对已有Table行合并
摘要: 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)
2021年3月20日
C# 利用NPOI把list导出为excel
摘要: 安装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)
2021年3月19日
AsposeWord 域替换 C#
摘要: docx插入域基本方法 打开文件 AsposeWordHelper helper = new AsposeWordHelper(); string templatePath = HttpContext.Current.Server.MapPath("~/Word/11.docx"); //模板路径
阅读全文
posted @ 2021-03-19 17:16 清风神剑
阅读(1199)
评论(0)
推荐(0)
2021年2月19日
五、WPF TreeView树样式改动
摘要: 效果图,改了图标 样式树 <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)
四、WPF 切换按钮背景图样式写法
摘要: <!--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)
2020年2月25日
二、IE下导出Excel乱码——C#踩坑记
摘要: 导出Excel在谷歌没问题,在IE下就。。。不得不吐槽,我用微软的技术导出微软的东西居然乱码,在谷歌居然不乱码。。。 解决办法:先贴高手的 https://blog.csdn.net/u014353113/article/details/84784680 /// <summary> /// 通过流导
阅读全文
posted @ 2020-02-25 17:22 清风神剑
阅读(670)
评论(2)
推荐(0)
2019年10月24日
一、GDI+中发生一般性错误——C#踩坑记
摘要: 处理图片的时候发生 GDI+中发生一般性错误 我知道的原因有4个 1. 相应的帐户没有写权限。 解决方法:增加权限,赋予 NETWORK SERVICE 帐户以写权限。 2. 指定的物理路径不存在。解决方法:在调用 Save 方法之前,先判断目录是否存在,若不存在,则创建。 网络中应该使用虚拟路径,
阅读全文
posted @ 2019-10-24 14:35 清风神剑
阅读(1109)
评论(0)
推荐(0)
2019年6月13日
七、python小功能记录——get和post请求
摘要: 先引入包 下文中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)
2019年5月23日
六、python小功能记录——递归删除bin和obj内文件
摘要: 删除C#生成的bin和obj内文件。
阅读全文
posted @ 2019-05-23 11:28 清风神剑
阅读(195)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告