诗情寻知己
揽几缕、轻挽起,暮暮朝朝与君语。
摘要: 1 /// <summary> 2 /// 清空文件夹 3 /// </summary> 4 /// <param name="filefullPath">文件夹路径</param> 5 /// <param name="FileExpirationTime">过期时间</param> 6 priv 阅读全文
posted @ 2022-06-04 16:56 诗情寻知己 阅读(1451) 评论(0) 推荐(0) 编辑
摘要: //隐藏table第一行 .gc-layout-table > tr:first-child { display: none !important; } //隐藏table第二行 .gc-layout-table > tr:nth-child(2) { display: none !importan 阅读全文
posted @ 2022-06-02 08:25 诗情寻知己 阅读(166) 评论(0) 推荐(0) 编辑
摘要: declare @pageIndex int = 1, @pageSize int =10 select * from (select row_number() over(order by 排序字段 asc) as num,* from 表名) temp_row where num between 阅读全文
posted @ 2022-06-02 08:20 诗情寻知己 阅读(18) 评论(0) 推荐(0) 编辑
摘要: .net 5 Windows服务形式打包 1、为了将应用转换成Windows服务,我们需要引入一个包,如下: Microsoft.Extensions.Hosting.WindowsServices 引用方式有以下两种比较方便的形式: 使用NuGet包管理器,在浏览中输入“Microsoft.Ext 阅读全文
posted @ 2022-05-17 14:52 诗情寻知己 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 1.IIS上部署网站,打开后ExtensionlessUrlHandler-Integrated-4.0解决办法 以管理员运行下面的命令注册: 32位机器: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i 64位机 阅读全文
posted @ 2021-11-22 11:08 诗情寻知己 阅读(35) 评论(0) 推荐(0) 编辑
摘要: Aspose.Words.Tables.Table table = builder.StartTable(); builder.InsertCell(); builder.Write("表头1"); builder.InsertCell(); builder.Write("表头2"); builde 阅读全文
posted @ 2021-11-19 10:26 诗情寻知己 阅读(1378) 评论(0) 推荐(0) 编辑
摘要: if (builder.MoveToBookmark("FooterImgPath") && !string.IsNullOrEmpty(imgPath)&& System.IO.File.Exists(imgPath)) { //页脚插入图片浮动 Shape shape = builder.Ins 阅读全文
posted @ 2021-11-18 16:26 诗情寻知己 阅读(687) 评论(0) 推荐(0) 编辑
摘要: MVC中使用方式: 1.前端js调用受到限制,简单的方式有:window.location.href = url; 或者 window.open(url);访问控制器中的方法 2,后台使用代码: //方式一 public ActionResult NewGenerate(bool wordDoc) 阅读全文
posted @ 2021-11-09 15:41 诗情寻知己 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 引入dll :Microsoft.IdentityModel.JsonWebTokens 代码如下: 1 try 2 { 3 context.Response.ContentType = "text/plain"; 4 var codestr = context.Request["code"]; 5 阅读全文
posted @ 2021-06-24 17:18 诗情寻知己 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Windows Server 2008 R2不支持.net core 3.0版本及以后更新的各个版本。 面对如上图提示,第一想到的就是服务器安装的SDK或者hosting版本有问题,第一时间检查了安装包版本,如下图: 都是当前最新版本,没有问题。 接着查看发布包是否在服务器中是否可以使用.EXE文件 阅读全文
posted @ 2021-06-09 10:19 诗情寻知己 阅读(8359) 评论(4) 推荐(0) 编辑

点击右上角即可分享
微信分享提示