摘要: $(function () { jQuery.fn.extend({ //options:[{id:xx,name:xxx},{id:xx,name:xxx}] //key:selectValue 选中项的id addOption: function ... 阅读全文
posted @ 2015-09-08 16:50 不要用我的二来伤害我 阅读(181) 评论(0) 推荐(0) 编辑
摘要: public class GetThumbnailImg { /// /// 读取图片的缩略图 /// /// 源图片的路径 /// 生成缩略图的目录 ... 阅读全文
posted @ 2015-01-07 23:45 不要用我的二来伤害我 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 如下图: 安装Microsoft Visual Studio 2012 更新 (KB2781514),不行 VS2012重新安装,不行。 安装UPDATA4的 ,不行。 找个这个解决方案 No1.开始-->所有程序-->Microsoft Visual Studio 2012-... 阅读全文
posted @ 2014-11-26 10:10 不要用我的二来伤害我 阅读(2094) 评论(0) 推荐(0) 编辑
摘要: var a = {}; var str = 'gouod'.split(""); str.forEach(function (v, i) { a[v] = a[v] == undefined ? 1 : a[v] + 1; ... 阅读全文
posted @ 2014-11-19 10:33 不要用我的二来伤害我 阅读(167) 评论(0) 推荐(0) 编辑
摘要: public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; string customerid = context.Reque... 阅读全文
posted @ 2014-04-22 11:23 不要用我的二来伤害我 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 在表格加载成功后合并 onLoadSuccess: dg2onLoadSuccess function dg2onLoadSuccess() { var indexList = []; var cells = $(".phone"); //要... 阅读全文
posted @ 2014-04-22 08:56 不要用我的二来伤害我 阅读(852) 评论(0) 推荐(0) 编辑
摘要: 需要引入using NPOI.HSSF.UserModel; public class ExcelHelper { /// /// /// /// 需要导出的DataTable /// 导出的表格列名 /// 导出的表格文件名称_默认当前日期不带时间_注:文件名不能有:号 /// 导出的Sheet名 /// 成功返回_异常返回-1 public int OutPutExcelByDataTable(DataTable dt, List ColName, st... 阅读全文
posted @ 2013-07-24 10:55 不要用我的二来伤害我 阅读(294) 评论(0) 推荐(0) 编辑
摘要: public class GetThumbnailImg { /// /// 读取图片的缩略图 /// /// 源图片的路径 /// 生成缩略图的目录 /// 生成缩略图的宽 /// 生成缩略图的高 /// 生成成功则返回路径,否则返回"" public static string GetThumbnailPic(string PicPath, string PicTemp, int Width, int Height) { ... 阅读全文
posted @ 2013-07-09 16:55 不要用我的二来伤害我 阅读(316) 评论(0) 推荐(0) 编辑
摘要: .NET版本服务端 http://pan.baidu.com/share/link?shareid=3505343637&uk=3928651495.NET版本客户端 http://pan.baidu.com/share/link?shareid=3511558869&uk=3928651495封装类/// /// MemCache帮助类 /// 根据配置文件里的Serverlist节点读取分布式缓存服务器列表 格式为 "127.0.0.1:11211" ,"127.0.0.2:11211" /// 如果Web.config未配置。则服务 阅读全文
posted @ 2013-07-05 14:57 不要用我的二来伤害我 阅读(1470) 评论(2) 推荐(1) 编辑
摘要: 添加webapi.dll 可现在添加。在WebForm使用WebApi需要在全局文件里配置路由。 using System.Web.Routing; protected void Application_Start(object sender, EventArgs e) ... 阅读全文
posted @ 2013-07-05 12:59 不要用我的二来伤害我 阅读(1619) 评论(1) 推荐(0) 编辑