因为工作需要,需要对京东地址和国标地址转换,特意采集了一下最新的国标地址库,以方便进行数据映射。 因为前端技术不太好,只能一点一点的页面分析(大神勿笑),故整理出来,一是为了存储方便以后再用,二是为了一样的方便同样需要这部分数据的小伙伴。 ...
分类:
其他好文 时间:
2017-06-21 14:11:58
阅读次数:
251
/// <summary> /// Get函数 /// </summary> /// <param name="url"></param> /// <returns></returns> private string GetHttp(string url) { string content = "" ...
分类:
其他好文 时间:
2017-06-21 13:36:40
阅读次数:
146
技术背景:框架MVC,linq to Entity 需要一定的lambda书写能力 问题:在简单的orm中完成一些简单的增删查改是通过where insert delete update 完成的,但是在这个过程中出现了一个需求:多项条件的and 和or 的组合查询 一:简单and 和or 查询 二: ...
分类:
其他好文 时间:
2017-06-20 13:35:32
阅读次数:
260
从 NSDictionary 取值的时候有两个方法,objectForKey: 和 valueForKey:,这两个方法具体有什么不同呢? 先从 NSDictionary 文档中来看这两个方法的定义: objectForKey: returns the value associated with a ...
分类:
移动开发 时间:
2017-06-20 00:59:05
阅读次数:
202
hash hash Returns an integer that can be used as a table address in a hash table structure. If two objects are equal (as determined by the isEqual(_:) ...
分类:
其他好文 时间:
2017-06-19 16:25:04
阅读次数:
179
任务目标: Given: an array containing hashes of names Return: a string formatted as a list of names separated by commas except for the last two names, whic ...
分类:
其他好文 时间:
2017-06-19 12:48:05
阅读次数:
206
callbacks是jquery的核心之一。 语法如下: jQuery.Callbacks( flags ) flags 类型: String 一个用空格标记分隔的标志可选列表,用来改变回调列表中的行为。 once: 确保这个回调列表只执行( .fire() )一次(像一个递延 Deferred). ...
分类:
Web程序 时间:
2017-06-19 09:56:43
阅读次数:
278
/// <summary> /// List<T> 转换成DataSet /// </summary> /// <typeparam name="T">对象</typeparam> /// <param name="list">集合</param> /// <returns>DataSet</ret ...
Arguments: [ *lists ]Combines the given `lists` together and returns the result. The given lists are not altered by this keyword. ...
分类:
其他好文 时间:
2017-06-18 00:02:44
阅读次数:
152
Create FUNCTION [dbo].[RemoveLeftCharMy] ( @Expression varchar(max), @char varchar(10))RETURNS varchar(max)ASBEGIN WHILE LEN(@Expression)>0 AND CHARIN ...
分类:
其他好文 时间:
2017-06-17 11:13:39
阅读次数:
174