摘要:
IF EXISTS(SELECT * FROM sysobjects WHERE id = object_id(N'View_DataNodeByDate') AND OBJECTPROPERTY(id, N'IsView') = 1) DROP View [View_DataNodeByDate] 阅读全文
摘要:
string createDate="02 23 2022 5:19PM"; DateTime resultCreateDate; //判断字符串是否是日期格式 if (DateTime.TryParse(createDate.ToString(), out resultCreateDate)) { 阅读全文
摘要:
Navicat for mysql 根据表结构生成C# 实体对象 USE INFORMATION_SCHEMA; SELECT CONCAT('/// <summary>\r\n/// ',COLUMN_COMMENT,'\r\n/// </summary>\r\npublic ', CASE DA 阅读全文
摘要:
C# 合并PDF文件 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using 阅读全文
摘要:
List<Model> strList = new List<Model>() { new Model(){Id=1,Name = "张三"}, new Model(){Id=11,Name = "张三1"}, new Model(){Id=2,Name = "李四"}, new Model(){I 阅读全文
摘要:
public class Model { public int Id { get; set; } public string Name { get; set; } } private static List<Model> LinqIn() { List<Model> strList = new Li 阅读全文
摘要:
该资料来源与网络各资料整合,亲测有效,感谢网络分享者们.... C# VSCode 搭建Vue项目——Win7 64 参考资料: https://cli.vuejs.org/zh/guide/installation.html --官网安装引导 https://www.cnblogs.com/tao 阅读全文
摘要:
class Test { public string Name { get; set; } public int Age { get; set; } } List<Test> list = new List<Test>(); list.Add(new Test { Name = "张三", Age 阅读全文
摘要:
Consul:服务注册与发现 使用方法步骤: 下载地址: https://www.consul.io/downloads 下载后通过命令启动 例如: CMD进入Consul.exe目录: 输入启动命令:consul agent -dev -client=0.0.0.0 -ui 访问验证 http:/ 阅读全文
摘要:
--新增字段 use [MEASDatabase] go if not exists(select * from syscolumns where id=object_id('DictCheckItems') and name='OfDepartName') begin ALTER TABLE Di 阅读全文