摘要: string[] unit = Getunit(result40, "(?<=(开始字符串))[.\\s\\S]*?(?=(结束字符串))"); private string[] Getunit(string value, string regx) { if (string.IsNullOrWhit 阅读全文
posted @ 2017-07-01 16:38 大鹅先生 阅读(12478) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2017-07-01 16:35 大鹅先生 阅读(2945) 评论(0) 推荐(0) 编辑
摘要: --创建用户CREATE LOGIN 用户名 WITH PASSWORD=N'密码', DEFAULT_DATABASE=数据库名, CHECK_EXPIRATION=OFF, CHECK_POLICY=OFFEXEC sp_grantdbaccess N'用户名' --授权GRANT SELECT 阅读全文
posted @ 2017-06-21 11:10 大鹅先生 阅读(5223) 评论(0) 推荐(1) 编辑
摘要: VS2013,则可以直接在IIS Express中添加MIME映射。操作如下: 1.在DOS窗口下进入IIS Express安装目录,默认是“C:\Program Files\IIS Express”,cmd 命令行cd 到 该目录下 2.在IIS Express安装目录下执行命令:appcmd s 阅读全文
posted @ 2017-04-07 09:50 大鹅先生 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 由于对前端的东西不是很熟练,导致jquery操作表单的东西总是忘记,每次用都要查一下,效率低下,记录下来,以便下次使用。 CheckBox checkbox改变事件 $('#IsAllSearch').change(function(){ if ($("#IsAllSearch").is(':che 阅读全文
posted @ 2017-03-17 13:14 大鹅先生 阅读(288) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Net.Mail;using System.Web;using System.Web.Mvc; namespac 阅读全文
posted @ 2017-02-14 17:07 大鹅先生 阅读(262) 评论(0) 推荐(0) 编辑
摘要: ajaxfileupload源码 解决上传成功不走success的问题 解决高版本jquery兼容性问题 jQuery.extend({ createUploadIframe: function(id, uri) { //create frame var frameId = 'jUploadFram 阅读全文
posted @ 2016-12-05 16:16 大鹅先生 阅读(657) 评论(0) 推荐(0) 编辑
摘要: <html><head><title>欢迎来到手机版</title><script>var ua = navigator.userAgent;var US = { Android:function () { //安卓 return ua.match(/Android/i)?true:false; } 阅读全文
posted @ 2016-09-26 18:03 大鹅先生 阅读(358) 评论(0) 推荐(1) 编辑