vba批量 调整表格 大小

摘要: Sub 宏1() Dim oDoc As DocumentSet oDoc = Word.ActiveDocumentDim oTable As TableFor Each oTable In oDoc.Tables oTable.Columns(1).Width = 30 oTable.Colum 阅读全文
posted @ 2024-01-12 16:57 码农at突泉 阅读(41) 评论(0) 推荐(0) 编辑

Windows Server 2016 更改远程桌面端口

摘要: Windows Server 2016 更改远程桌面端口操作步骤: 步骤一:在服务器运行窗口中输入“regedit”打开注册表编辑器。 步骤二:在注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rd 阅读全文
posted @ 2023-09-07 15:58 码农at突泉 阅读(2327) 评论(0) 推荐(0) 编辑

jQuery 操作select

摘要: jQuery取得select选中的值 本来以为jQuery("#select1").val();是取得选中的值, 那么jQuery("#select1").text();就是取得的文本。 这是不正确的,正确做法是: jQuery("#select1 option:selected").text(); 阅读全文
posted @ 2023-08-11 21:37 码农at突泉 阅读(207) 评论(0) 推荐(0) 编辑

CryptoJS与C#AES加解密互转

摘要: CryptoJS下载地址: https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.js 页面js引用: <script type="text/javascript" src=" https://cdnjs.cloudfl 阅读全文
posted @ 2023-08-10 21:53 码农at突泉 阅读(744) 评论(1) 推荐(0) 编辑

asp.net core 生成文件下载

摘要: 1 public IActionResult down(int id, string filename) 2 { 3 string path = hostingEnvironment.WebRootPath + "/ContractFiles/" + id + "/" + filename; 4 5 阅读全文
posted @ 2023-04-05 12:00 码农at突泉 阅读(50) 评论(0) 推荐(0) 编辑

select标签如何实现 每个option传递多个值

摘要: 设计项目时 我们有时候会利用 <select> <option value="值1" > </option> </select> 向服务器传递数据,大多数传递一个值就可以了 ,有时候会传递多个值,如何实现呢? 见以下代码, 我们可以 给option标签动态设置多个属性(属性名称不能重复) 并赋值。 阅读全文
posted @ 2022-12-04 07:43 码农at突泉 阅读(831) 评论(0) 推荐(0) 编辑

如何使用cmd(dos命令)关闭IIS中某个站点

摘要: 在 目录 C:\Windows\System32\inetsrv 下面有一个 appcmd 程序,定位到 该目录下 appcmd site /? #管理站点 appcmd /? #管理整个IIS 停止站点 appcmd site stop "站点名称" 开启站点 appcmd site start 阅读全文
posted @ 2022-11-02 22:25 码农at突泉 阅读(219) 评论(0) 推荐(0) 编辑

asp.net core 解决用户上传文件提示 System.UnauthorizedAccessException: Access to the path 'C:\Windows\TEMP\ASPNETCORE_e65c14f7-e337-493c-90ac-d49a48db7187.tmp' is denied.

摘要: 今天发布项目到服务器 上传文件突然提示 System.UnauthorizedAccessException: Access to the path 'C:\Windows\TEMP\ASPNETCORE_e65c14f7-e337-493c-90ac-d49a48db7187.tmp' is de 阅读全文
posted @ 2022-11-01 21:23 码农at突泉 阅读(858) 评论(1) 推荐(1) 编辑

Visual C++ Redistributable for Visual Studio各版本下载地址

摘要: Visual C++ Redistributable for Visual Studio各版本下载地址飞鹰_天涯于 2021-06-24 09:35:21 发布 5978收藏 8版权Microsoft Visual C++ Redistributable 2019x86: https://aka.m 阅读全文
posted @ 2022-10-31 21:12 码农at突泉 阅读(672) 评论(0) 推荐(0) 编辑

jquery 操作表格 jQuery操作表格(table)的常用方法、技巧汇总

摘要: 以下列出13个jQuery操作table常用到的功能: 1.鼠标移动行变色 $('#table1 tr').hover(function(){ $(this).children('td').addClass('hover')}, function(){ $(this).children('td'). 阅读全文
posted @ 2022-10-29 21:13 码农at突泉 阅读(1866) 评论(0) 推荐(1) 编辑