摘要:
DateTime dt = DateTime.Now; //值减去5小时 dt = dt.AddHours(-5); //减去5分钟 dt = dt.AddMinutes(-5); //减去5秒钟 dt = dt.AddSeconds(-5); //减去5天 dt = dt.AddDays(-5); 阅读全文
摘要:
iosSelect级联选择器插件 最多支持6级 本次演示为4级 官网 http://zhoushengfe.com/iosselect/website/index.html 备用网址: https://www.pengwf.com/iosselect/index.html 特点 0依赖,只需引用一个 阅读全文
摘要:
Element 远程搜索el-select,显示特定条数,不会导致选项过多 ,导致页面丑化。 引用: <!-- 引入样式 --> <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> 阅读全文
摘要:
滑动判断方法 Slide: { $("body").on("touchstart", function (e) { e.touches.defaultPrevented var calssname = e.originalEvent.target.className; // 判断默认行为是否可以被禁 阅读全文
摘要:
SELECT "adc",/*1合同编号*/ 2,/*2*/ 1,/*3*/ customer.StoreName,/*4公司名称*/ 10,/*5*/ contract.SignDate,/*6签约时间*/ contract.Cycle,/*7合同周期*/ contract.ExpireDate, 阅读全文
摘要:
/*查询到的数据添加到新表 指定字段*/ INSERT INTO newcrmtest.contracts( contracts.Code,/*1合同编号*/ contracts.PartyType,/*2*/ contracts.ContractType,/*3*/ contracts.Name, 阅读全文
摘要:
较常用快捷键 Ctrl + E + D = 代码格式化1 Ctrl + K + F = 代码快速格式化2 Ctrl + E + C = 注释代码1 Ctrl + K + C = 注释代码2 Ctrl + E + U = 取消注释代码1 Ctrl + K + U = 取消注释代码2 Tab + Tab 阅读全文
摘要:
1、说明:创建数据库CREATE DATABASE database-name2、说明:删除数据库drop database dbname3、说明:备份sql server 创建 备份数据的 deviceUSE masterEXEC sp_addumpdevice 'disk', 'testBack 阅读全文
摘要:
1、 gpedit.msc 组策略。 2.、sndrec32 录音机。 3、Nslookup IP地址侦测器 ,是一个 监测网络中 DNS 服务器是否能正确实现域名解析的命令行工具。 它在 Windows NT/2000/XP 中均可使用 , 但在 Windows 98 中却没有集成这一个工具。 4 阅读全文
摘要:
SqlServer -- sqlserver 查询库中表数量 SELECT count(1) from sysobjects where xtype = 'u' -- sqlserver 查询表中的字段信息 select a.name tabelname, b.name fields, case c 阅读全文
