摘要:
public class ChangeDateTimeKind { public static async Task ToUtc<T>(T model) { Type NewType = typeof(T); foreach (PropertyInfo item in NewType.GetRunt 阅读全文
摘要:
查询死锁 SELECT request_session_id spid,OBJECT_NAME (resource_associated_entity_id)tableName FROM sys.dm_tran_locks WHERE resource_type='OBJECT'; 杀进程 exec 阅读全文
摘要:
using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.IO; using Newtonsoft.Json; using Newtonsoft.Jso 阅读全文
摘要:
一、SQL Server 1、获取数据库表信息 DECLARE @TableInfo TABLE ( name VARCHAR(50) , sumrows VARCHAR(11) , reserved VARCHAR(50) , data VARCHAR(50) , index_size VARCH 阅读全文
摘要:
解决办法: 要写成,缺少action 阅读全文
摘要:
@echo off & setlocal EnableDelayedExpansion set obj[0]=8886 set port=0set pid=0 for /f "usebackq delims== tokens=1-2" %%a in (`set obj`) do ( set port 阅读全文
摘要:
C# 9 中引入了 record,record 是一个特殊类,用它来实现 model 在有些情况下会非常的好用 using System; using System.Collections.Generic; namespace ConsoleApp9 { class Program { static 阅读全文
摘要:
IIS找对对应的程序池=》高级设置=》进程模型=》闲置超时(分钟)默认的20改成0 阅读全文
摘要:
一、windows安装OpenSSH 1,下载openSSH windows版 GitHub下载链接 我安装的是64位版本 OpenSSH-Win64.zip 2,解压到C:\Program Files\OpenSSH,建议是放在此目录下 3,cmd到openSSH路径下 依次执行 1)安装sshd 阅读全文
摘要:
Html: <div> <div>金额 </div> <input id="Money" type="text" value="0.00" maxlength="12" onchange="TotalLimitOnchange(this)" onkeyup="TotalLimitOnkeyup(th 阅读全文