会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
SmallChen
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
19
下一页
2023年2月14日
window 运行 jar包方式
摘要: 所有文件 1.将jar包指定为bat批处理文件,然后可以双击启动 新建start2.txt 编辑保存一下内容,修改start2.txt后缀为bat,点击运行(此方法当前命令窗口关闭后,程序也关闭) java -Dfile.encoding=utf-8 -jar demo-0.0.1-SNAPSHOT
阅读全文
posted @ 2023-02-14 14:27 SmallChan
阅读(513)
评论(0)
推荐(0)
2023年2月8日
.Net 6 miniAPI
摘要: 启动:1.双击 WebApplication1.exe文件 2.dotnet WebApplication1.dll --urls "http://localhost:5403;https://localhost:5404" 参考 https://www.bbsmax.com/A/o75NNZ4j5
阅读全文
posted @ 2023-02-08 17:01 SmallChan
阅读(98)
评论(0)
推荐(0)
2023年1月16日
sql 查找连续的时间区间以及连续天数
摘要: create table tmptable(rq datetime) go insert tmptable values('2010.1.1') insert tmptable values('2010.1.2') insert tmptable values('2010.1.3') insert
阅读全文
posted @ 2023-01-16 16:44 SmallChan
阅读(388)
评论(0)
推荐(0)
2023年1月12日
sqlserver定时备份
摘要: 1.启动代理 2.新建维护计划 3.设置计划属性 4.新建备份数据库任务 5.设置备份属性 点击确定,完成
阅读全文
posted @ 2023-01-12 15:13 SmallChan
阅读(160)
评论(0)
推荐(0)
2022年12月20日
C# 数字转大写汉字
摘要: 1.数字转换成汉字大写public string NumToChinese(string x) { //数字转换为中文后的数组 string[] P_array_num = new string[] { "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"
阅读全文
posted @ 2022-12-20 11:45 SmallChan
阅读(1559)
评论(0)
推荐(0)
2022年12月16日
未在本地计算机上注册“Microsoft.ACE.OLEDB.12.0”提供程序。(C# EXCEL导入demo)
摘要: 1. 安装office包 https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=13255 2.需要在相应的IIS应用程序池启用32位应用程序 3.代码 //前台 <script language="javascript"> $(
阅读全文
posted @ 2022-12-16 15:25 SmallChan
阅读(387)
评论(0)
推荐(0)
C# AES加解密
摘要: /// <summary> /// AES加密 /// </summary> /// <param name="key"></param> /// <param name="str"></param> /// <returns></returns> public static string AesE
阅读全文
posted @ 2022-12-16 10:46 SmallChan
阅读(301)
评论(0)
推荐(0)
2022年12月12日
CSS 页面整体变灰色
摘要: body {-webkit-filter: grayscale(100%) !important;-moz-filter: grayscale(100%) !important;-ms-filter: grayscale(100%) !important;-o-filter: grayscale(1
阅读全文
posted @ 2022-12-12 16:36 SmallChan
阅读(117)
评论(0)
推荐(0)
2022年12月8日
C# 时间各种格式
摘要: 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=currentTime.Day; 1.5
阅读全文
posted @ 2022-12-08 19:53 SmallChan
阅读(627)
评论(0)
推荐(0)
2022年11月24日
C#泛型接口请求封装类
摘要: using HttpUtil; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq;
阅读全文
posted @ 2022-11-24 20:14 SmallChan
阅读(91)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
19
下一页
公告