摘要: 1. ctrl + ~ 快捷键,调出 命令窗体, 2.在安装package control 阅读全文
posted @ 2019-11-14 13:04 学如逆水行舟 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Sublimes是一个代码编辑器,编辑PHP、js、css等等,具有跨平台、体积小,运行速度快、支持大量插件、扩展性强的优点。 Sublime下载地址: http://www.sublimetextcn.com/ Sublime 注册码破解: http://blog.sina.com.cn/s/bl 阅读全文
posted @ 2019-11-13 21:33 学如逆水行舟 阅读(147) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { TestClass cls = new TestClass(); cls.GetType("123"); Student stu = new 泛型方法.Student(); stu.Name = "王五"; stu.Age = 23 阅读全文
posted @ 2019-03-09 11:45 学如逆水行舟 阅读(8175) 评论(0) 推荐(0) 编辑
摘要: // 数组 有序的同元素的 缺点长度是固定的 #region 类型数组 //第一种方式 string[] str = new string[] { "a", "b", "c" }; //第二种方式 string[] str1 = new string[3]; str1[0] = "a"; str1[1] = "b"; str1[2] = "c"; //第三种方式 string[] st... 阅读全文
posted @ 2019-03-08 17:04 学如逆水行舟 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 高德地图的提供了免费查看天气预报API(https://lbs.amap.com/api/webservice/guide/api/weatherinfo/),每日限制调100000次; 1.和风天气 访问流量:4000次/天。访问频率:200次/分钟。 实况天气接口:https://free-ap 阅读全文
posted @ 2019-02-25 16:34 学如逆水行舟 阅读(1048) 评论(0) 推荐(0) 编辑
摘要: bootstrapValidator默认逻辑是当表单验证失败时,把按钮给变灰色。但是项目中,button并不在form内部,是通过事件绑定来ajax提交的。那么问题来了: 项目需要当form验证失败时,不执行所绑定的后续事件。百度半天找不到相关资料,最后还是要靠google: 阅读全文
posted @ 2018-12-02 16:47 学如逆水行舟 阅读(418) 评论(1) 推荐(0) 编辑
摘要: 通过 FOR xml path('') 合并字符串记录 -- 分组合并字符串记录(针对情况 一个id对于多个条记录,要求合并一行) SELECT name, Subject = ( STUFF( (SELECT ',' + Subject FROM test ... 阅读全文
posted @ 2018-11-21 16:39 学如逆水行舟 阅读(1637) 评论(0) 推荐(0) 编辑
摘要: bootstrap的安装注意: 1.引入的先后顺序:jquery在前,bootstrap在后(如果你只需要bootstrap的样式,你完全不用引入JQuery和bootstrap的js文件),否则可能保存:Error: Bootstrap's JavaScript requires jQuery 2 阅读全文
posted @ 2018-11-12 14:11 学如逆水行舟 阅读(692) 评论(0) 推荐(0) 编辑
摘要: SQL数据库中把一个表中的数据复制到另一个表中 1、如果是整个表复制表达如下: 1、如果是整个表复制表达如下: 1、如果是整个表复制表达如下: insert into table1 select * from table2 2、如果是有选择性的复制数据表达如下: insert into table1 阅读全文
posted @ 2018-08-20 16:33 学如逆水行舟 阅读(2051) 评论(0) 推荐(0) 编辑
摘要: 1.在字符串中直接使用回车换行是会报错的 var x = "HelloWorld!"; 2. 在常规的比较中,数据类型是被忽略的,以下 if 条件语句返回 true: var x = 10;var y = "10";if (x == y) 3. 在 JavaScript 中, null 用于对象,  阅读全文
posted @ 2018-05-30 16:26 学如逆水行舟 阅读(155) 评论(0) 推荐(0) 编辑