12 2016 档案
摘要:先看下美团的。 用的是腾讯地图 http://lbs.qq.com/guides/loc.html 官网 http://lbs.qq.com/tool/component-geolocation.html 前端定位组件,旨在优化纯HTML5 Geolocation定位能力弱,定位成功率不高的问题,提
阅读全文
摘要:获取分组后取某字段最大一条记录 方法一:(效率最高) select * from test as a where typeindex = (select max(b.typeindex) from test as b where a.type = b.type );
阅读全文
摘要:SQL、LINQ、Lambda 三种用法 颜色注释: SQL LinqToSql Lambda QA 1、 查询Student表中的所有记录的Sname、Ssex和Class列。 select sname,ssex,class from student Linq: from s in Student
阅读全文
摘要:配置默认数据库
阅读全文
摘要:return new JsonResult() { Data = new { message = "成功!", }, JsonRequestBehavior = JsonRequestBehavior.All...
阅读全文
摘要:其实就按照这上面说的就行。 关键点是在第三部。 配置网络代理时 不能填写http://
阅读全文
摘要:function guid() { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); ...
阅读全文
摘要://StreamReader objReader = new StreamReader(HostingEnvironment.MapPath("/json.json")); //string sLine = ""; //StringBuilder str = new StringBuilder(); //while (s...
阅读全文

浙公网安备 33010602011771号