会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zf78
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2022年3月14日
WebApi如何启用Session并且使用
摘要: 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)
2022年3月12日
using Spire.Pdf 合并文件夹下.pdf 文件
摘要: 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)
2022年3月9日
NPOI 导出 EXCEL
摘要: 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)
2022年3月6日
.Net Standard .Net Framework .Net Core 版本对应
摘要:
阅读全文
posted @ 2022-03-06 11:52 zf78
阅读(140)
评论(0)
推荐(0)
2022年3月5日
node-sass低版本与高版本的node会有兼容性问题,导致安装失败
摘要: node版本v14.18.1 node-sass版本v4.13.0 Python 2.7.18
阅读全文
posted @ 2022-03-05 11:28 zf78
阅读(367)
评论(0)
推荐(0)
2022年2月9日
C# 正则表达式提取字符串中括号里的值
摘要: 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)
2022年2月8日
给出年月 获得这个月的第一天和最后一天
摘要: private DateTime GetFirstDayOfMonth(int Year,int Month) { //你见过不是从1号开始的月份么?没有 //那么,直接返回给调用者吧! //良好的一个编程习惯就是你的代码让人家看了简单易懂 return Convert.ToDateTime(Yea
阅读全文
posted @ 2022-02-08 14:33 zf78
阅读(48)
评论(0)
推荐(0)
2022年1月26日
SQLSERVER 根据一个库的视图在另一个库中生成一张表
摘要: select * into VPsiOuntStockBill from [KshDbPro].dbo.VPsiOuntStockBill
阅读全文
posted @ 2022-01-26 14:19 zf78
阅读(125)
评论(0)
推荐(0)
2022年1月24日
SQLSERVER 存储过程里 执行sql字符串 并返回结果
摘要: -- 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)
2022年1月20日
sqlserver存储过程学习
摘要: 存储过程学习 一、定义变量 --简单赋值 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)
上一页
1
2
3
下一页
公告