摘要:
创建 01-netplan.yam 文件 network: version: 2 renderer: networkd ethernets: ens33: dhcp4: no addresses: [192.168.44.11/24] gateway4: 192.168.44.255 nameser 阅读全文
摘要:
VS自动按日期生成版本号,修改解决方案文件 <PropertyGroup> <TargetFramework>netstandard2.1</TargetFramework> <Revision>$([System.DateTime]::Now.ToString("yyyy.MM.dd.HHmm") 阅读全文
摘要:
/// /// 计算文本的宽度 /// /// /// public static int GetStringLength(string str, int AddLength = 0) { Font f = new Font("微软雅黑", 12F, S... 阅读全文
摘要:
ORACLE的SQL Developer工具默认的日期格式DD-MON-RR,在SQL查询中往往你看不到时间信息,此时你必须修改日期格式。具体如下所示 工具->首选项->数据库->NLS->日期格式: DD-MON-RR 修改为: YYYY-MM-DD HH24:MI:SS转载:https://www.cnblogs.com/kerrycode/p/4983085.html 阅读全文
摘要:
原文连接: https://documentation.devexpress.com/WindowsForms/DevExpress.XtraEditors.LabelControl.class https://documentation.devexpress.com/WindowsForms/De 阅读全文
摘要:
https://7gx64iks.mirror.aliyuncs.com 阅读全文
摘要:
public ActionResult GetLargeJsonResult() { return new ContentResult { Content = new JavaScriptSerializer { MaxJsonLength = Int32.MaxValue }.Serialize(myBigdata), ContentType = "... 阅读全文
摘要:
var val = new Int32Converter().IsValid(str) ? int.Parse(str) : default(int?); 阅读全文
摘要:
var types = AppDomain.CurrentDomain.GetAssemblies() .SelectMany(a => a.GetTypes().Where(t => t.GetInterfaces().Contains(typeof(ISecurity)))) .ToArray(); 阅读全文