摘要: 1.打开项目的Global.asax文件,重新方法init 2. public override void Init() { //注册事件 this.AuthenticateRequest += WebApiApplication_AuthenticateRequest; base.Init(); 阅读全文
posted @ 2022-03-14 13:39 zf78 阅读(302) 评论(0) 推荐(0)
摘要: using Spire.Pdf private void mergePDF() { List<string> filesList = new List<string>(); DirectoryInfo test = new DirectoryInfo(@"D:\LD\TR_lab\bin\Debug 阅读全文
posted @ 2022-03-12 23:07 zf78 阅读(244) 评论(0) 推荐(0)
摘要: 1. 2.创建NPOIHelper using System;using System.Collections.Generic;using System.Data;using System.IO;using System.Text;using System.Web;using NPOI;using 阅读全文
posted @ 2022-03-09 21:38 zf78 阅读(90) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-03-06 11:52 zf78 阅读(140) 评论(0) 推荐(0)
摘要: node版本v14.18.1 node-sass版本v4.13.0 Python 2.7.18 阅读全文
posted @ 2022-03-05 11:28 zf78 阅读(367) 评论(0) 推荐(0)
摘要: version = Regex.Replace(str, @"(.*\()(.*)(\).*)", "$2"); //小括号() Regex rgx = new Regex(@"(?i)(?<=\[)(.*)(?=\])");//中括号[] string tmp = rgx.Match(CvoNam 阅读全文
posted @ 2022-02-09 09:40 zf78 阅读(580) 评论(0) 推荐(0)
摘要: private DateTime GetFirstDayOfMonth(int Year,int Month) { //你见过不是从1号开始的月份么?没有 //那么,直接返回给调用者吧! //良好的一个编程习惯就是你的代码让人家看了简单易懂 return Convert.ToDateTime(Yea 阅读全文
posted @ 2022-02-08 14:33 zf78 阅读(48) 评论(0) 推荐(0)
摘要: select * into VPsiOuntStockBill from [KshDbPro].dbo.VPsiOuntStockBill 阅读全文
posted @ 2022-01-26 14:19 zf78 阅读(125) 评论(0) 推荐(0)
摘要: -- Author: <Author,,Name>-- Create date: <Create Date,,>-- Description: 停用/启用12个月销售目标--exec [Proc_Create_SalespPlans] "'1485507540488949761','14855074 阅读全文
posted @ 2022-01-24 16:09 zf78 阅读(719) 评论(0) 推荐(0)
摘要: 存储过程学习 一、定义变量 --简单赋值 declare @a int set @a=5 print @a --使用select语句赋值 declare @user1 nvarchar(50) select @user1='张三' print @user1 declare @user2 nvarch 阅读全文
posted @ 2022-01-20 16:32 zf78 阅读(168) 评论(0) 推荐(0)