摘要: public static List StringToIPList(string strIPs) { var reg1 = new Regex(@"(((2[0-4]\d)|(25[0-5])|([0-1]?\d{1,2}))\.?){4}(\-(((2[0-4]\d)|(25[0-5])|([0-1]?\d{1,2}))\.?){4})"); ... 阅读全文
posted @ 2018-03-12 11:05 caolingyi 阅读(187) 评论(0) 推荐(0) 编辑
摘要: public class WebHelper { [DllImport("Iphlpapi.dll")] private static extern int SendARP(int dest, int host, ref long mac, ref int length); [DllImport("Ws2_32.dll")] ... 阅读全文
posted @ 2018-03-12 11:03 caolingyi 阅读(200) 评论(0) 推荐(0) 编辑
摘要: public static ResponseParam SendByHttpClienttoApi_LoginOn(string name, string password) { RequestParam para = new RequestParam() { APPID = appid, ... 阅读全文
posted @ 2018-03-12 11:02 caolingyi 阅读(175) 评论(0) 推荐(0) 编辑
摘要: BundleConfig中RegisterBundles方法添加 BundleTable.EnableOptimizations = false;//不打包 阅读全文
posted @ 2018-03-12 11:00 caolingyi 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 百度地图API自定义地图 阅读全文
posted @ 2018-03-12 10:20 caolingyi 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 两个接口返回的数据不一样 阅读全文
posted @ 2018-03-12 10:18 caolingyi 阅读(226) 评论(0) 推荐(0) 编辑
摘要: public static string GetNoHtmlString(string text) { if (text == null) { text = ""; } //删除脚本 text = Regex.Replace(te... 阅读全文
posted @ 2018-03-12 10:00 caolingyi 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1、配置表信息 USE [cishu] GO /****** Object: Table [dbo].[SearchConfig] Script Date: 03/09/2018 17:39:57 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER 阅读全文
posted @ 2018-03-09 17:44 caolingyi 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.cnblogs.com/chenmh/p/4434890.html https://www.cnblogs.com/lyhabc/p/3255960.html 按照链接方式创建全文索引 使用: 全文谓词 全文查询使用全文谓词(CONTAINS 和 FREETEXT)以 阅读全文
posted @ 2018-03-09 17:28 caolingyi 阅读(400) 评论(0) 推荐(0) 编辑
摘要: //yyyy-MM-dd HH:mm:SS function getDateTime(date) { var year = date.getFullYear(); var month = date.getMonth() + 1; var day = date.getDate(); var hh = date.getHours(); var mm = dat... 阅读全文
posted @ 2018-03-09 16:19 caolingyi 阅读(132) 评论(0) 推荐(0) 编辑