03 2022 档案
摘要:<location path="." allowOverride="true" inheritInChildApplications="false"></location> 防止根目录的web.config 覆盖子目录的web.config
阅读全文
摘要:mysql trigger 触发器的使用 注意前后加加 delimiter $$ .................... $$ delimiter ; #修改a.dealer 表信息时,更新b.dealer delimiter $$ CREATE TRIGGER syncInfoByUpdateA
阅读全文
摘要:webapi 中,如果接参是一个实体 model。需要参数前面加一个特性 [FromUri] 。根据您前端传参情况定 public JsonModelHelper.JsonModel Get([FromUri] addresstemplate at)
阅读全文
摘要:平时有一些重复性的工作,然后利用t4模板写了以下代码,希望对大家有用。1. 生成dal helper 增删改查 <#@ template language="C#" debug="false" hostspecific="true"#> <#@ include file="EF6.Utility.C
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.
阅读全文
摘要:Sub test() '获取所有ppt页面 For Each currentSlide In ActivePresentation.Slides '每个页面加一个文本框 Set Sh = currentSlide.Shapes.AddLabel(msoTextOrientationHorizonta
阅读全文
摘要:解决方案:win7系统需要安装补丁。Windows6.1-KB3033929-x64 https://download.microsoft.com/download/C/8/7/C87AE67E-A228-48FB-8F02-B2A9A1238099/Windows6.1-KB3033929-x64
阅读全文
摘要://server端 public class HelloClass { public string GetHello() { return "Hello!"; } } public interface IHelloClass { string GetHello(); } var tcpserver
阅读全文