摘要: ///<summary> ///执行指定目录商品图片动作 ///</summary> public static void FindPictureDoCutIt(object o) { string filePath=o.ToString(); try { DirectioryInfo father 阅读全文
posted @ 2015-10-12 15:16 如此低调的男人 阅读(173) 评论(0) 推荐(0) 编辑
摘要: public class CommentsBusiness //Business { #region 单列模式 private static CommentBusiness instance; private CommentData dal;//Data private CommentsBusine 阅读全文
posted @ 2015-10-02 19:37 如此低调的男人 阅读(354) 评论(2) 推荐(0) 编辑
摘要: 引用命名空间: Html分页方法 #region 分页Html辅助方法 /// <summary> /// 分页Html辅助方法 /// </summary> /// <param name="htmlHelper"></param> /// <param name="currentPage"></ 阅读全文
posted @ 2015-10-02 10:54 如此低调的男人 阅读(2055) 评论(0) 推荐(1) 编辑
摘要: 1、调用分布视图 //Html辅助方法 返回参数的值 存储在ProvinceId、CityId、DistrictId中 @{Html.RenderAction("GetProvince","Home",new{ProvinceId=Model.provinceid,CityId=Model.city 阅读全文
posted @ 2015-10-01 19:50 如此低调的男人 阅读(1416) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;namespace CommonHe... 阅读全文
posted @ 2015-10-01 15:29 如此低调的男人 阅读(593) 评论(3) 推荐(1) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace CommonHelper { [AttributeUsage(AttributeTargets.Method | AttributeTargets.Cla... 阅读全文
posted @ 2015-10-01 11:23 如此低调的男人 阅读(617) 评论(2) 推荐(1) 编辑
摘要: 首先必不可缺少的是Mapper using System; using System.Collections.Generic; using System.Data; using System.Globalization; using System.Linq; using System.Reflect 阅读全文
posted @ 2015-09-30 09:56 如此低调的男人 阅读(480) 评论(0) 推荐(2) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace CommonH 阅读全文
posted @ 2015-09-28 12:37 如此低调的男人 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 引用jquery $(function(){ $("#按钮id").click(function(){ var nums="";//变量 $("#table的id tbody tr").each(function(){ var num1=$(this).find("input:text:eq(0)" 阅读全文
posted @ 2015-09-21 11:38 如此低调的男人 阅读(3884) 评论(0) 推荐(1) 编辑
摘要: Helper类代码 public class Helper { #region 单列循环 private Helper() { } private static Helper instance = null; /// <summary> /// 静态实例化单体模式 /// 保证应用程序操作某一全局对 阅读全文
posted @ 2015-08-14 15:16 如此低调的男人 阅读(381) 评论(0) 推荐(0) 编辑