03 2018 档案
摘要:bootstrap-tour-standalone.min.css bootstrap-tour-standalone.js var tour = new Tour({ storage: false, //相关可选项目值:window.localStorage(缺省), window.sessionStorage ,false 或者自定义obj ...
阅读全文
摘要:tempc = tempc.replace(/\ +/g, "");//去掉空格 tempc = tempc.replace(/[ ]/g, ""); //去掉空格 tempc = tempc.replace(/[\r\n]/g, "");//去掉回车换行 //删除左右两端的空格 function trim(str) { return str...
阅读全文
摘要:@{ Layout = null; } @ViewBag.Title @Scripts.Render("~/bundles/CusJS") @Styles.Render("~/Content/CusCSS") @Html.Part...
阅读全文
摘要:jquery.cookie.js jquery.session.js 使用 可设置到二级域名下
阅读全文
摘要:function () { jQuery.support.cors = true; $.ajax({ type: "post", url: "...", data: { }, xhrFields: { withCredentials: true ...
阅读全文
摘要:public static class WordHelper { /// /// 将汉字转换成拼音 /// /// /// 间隔符(左) /// 间隔符(右) /// 返回全部拼音 /// 保留音调 /// public ...
阅读全文
摘要: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})"); ...
阅读全文
摘要: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")] ...
阅读全文
摘要:public static ResponseParam SendByHttpClienttoApi_LoginOn(string name, string password) { RequestParam para = new RequestParam() { APPID = appid, ...
阅读全文
摘要:BundleConfig中RegisterBundles方法添加 BundleTable.EnableOptimizations = false;//不打包
阅读全文
摘要:public static string GetNoHtmlString(string text) { if (text == null) { text = ""; } //删除脚本 text = Regex.Replace(te...
阅读全文
摘要:1、配置表信息 USE [cishu] GO /****** Object: Table [dbo].[SearchConfig] Script Date: 03/09/2018 17:39:57 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER
阅读全文
摘要:参考: https://www.cnblogs.com/chenmh/p/4434890.html https://www.cnblogs.com/lyhabc/p/3255960.html 按照链接方式创建全文索引 使用: 全文谓词 全文查询使用全文谓词(CONTAINS 和 FREETEXT)以
阅读全文
摘要://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...
阅读全文
摘要:public static class JsonConvert { public static string ObjectToJson(object obj) { DataContractJsonSerializer serializer = new DataContractJsonSerializer(obj.GetType())...
阅读全文
摘要:参考: https://www.cnblogs.com/edisonchou/p/4848131.html https://www.cnblogs.com/willick/p/4177977.html#header03 1、线程 System.Threading.Thread类 Console.Wr
阅读全文
摘要:原文:http://www.ijquery.cn/?p=866 下载demo 其实使用方法很简单,只需要在头部加载一个JS就可以。如下: 1、视频引用方法(type="video/mp4",type="video/ogg",type="application/x-shockwave-flash")
阅读全文
摘要:1、多文件下载并压缩 1 public class DownLoadZip 2 { 3 public static void Download(IEnumerable<string> files, string zipFileName, HttpResponse response) 4 { 5 6
阅读全文
摘要:原文:http://blog.csdn.net/w200221626/article/details/52169250 json 文件 格式: 1 { 2 "total": 1, 3 "page": 1, 4 "records": 1, 5 "costtime": "100", 6 "rows":
阅读全文
摘要:1.使用QueryString, 如....?id=1; response. Redirect(....?id=1) window.location.href=....?id=1 2.使用Session变量 3.Cookie传值 4.Application传值 5.使用Server.Transfer
阅读全文
摘要:原文:https://www.cnblogs.com/johnsmith/archive/2012/12/03/2799795.html 参考:https://www.cnblogs.com/dotnet261010/p/6513618.html 1、实体类转换成XML 2、将XML转换成实体类 3
阅读全文
摘要:参考: https://www.cnblogs.com/wuhuacong/p/6518748.html https://www.cnblogs.com/RainbowInTheSky/p/5557936.html https://www.cnblogs.com/TianFang/p/3430169
阅读全文
摘要:原文:http://www.jq22.com/jquery-info5697 简单使用方法 引用 html js 配置信息 pageCount:总页数(默认值:9) totalData:数据总条数(默认值:0) showData:每页展示条数(默认值:0) current:当前第几页(默认值:1)
阅读全文