夜微凉、的博客

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 3 4 5 6 7

2016年3月10日

摘要: $(target).highcharts({ chart: { type: 'bar' }, colors: [ "#1ab394" ], ... 阅读全文
posted @ 2016-03-10 10:52 夜、微凉 阅读(1050) 评论(0) 推荐(0) 编辑

2016年1月20日

摘要: //验证是否为图片 jQuery.validator.addMethod("checkPic", function (value, element) { var filepath = $("#File").val(); //获得上传文件名 var fileArr = filepath.split("\\");... 阅读全文
posted @ 2016-01-20 12:47 夜、微凉 阅读(1445) 评论(0) 推荐(0) 编辑

2016年1月13日

摘要: 1、首先添加引入命名空间: using System.Net.Mail; 2、开始写代码,如下: 阅读全文
posted @ 2016-01-13 22:38 夜、微凉 阅读(300) 评论(0) 推荐(0) 编辑

摘要: (1)添加引用 System.Web。 (2)在类中填写 using System.Web 命名空间。 (3)写法为: System.Web.HttpContext.Current.Server.MapPath("~/Upload/LosskWh/" + imgItem); 阅读全文
posted @ 2016-01-13 13:17 夜、微凉 阅读(962) 评论(0) 推荐(0) 编辑

2015年12月25日

摘要: class Program { static void Main(string[] args) { EmployeeDAL DAL = new EmployeeDAL(); List list = DAL.GetAll().ToList(); //WriteTxt(list); ... 阅读全文
posted @ 2015-12-25 23:02 夜、微凉 阅读(1422) 评论(0) 推荐(0) 编辑

2015年11月5日

摘要: class Program { delegate string Get(string ss); delegate string Get2(int i); static Func<string, string> Out = s => s.ToLower(); static Func<int, stri 阅读全文
posted @ 2015-11-05 16:55 夜、微凉 阅读(978) 评论(0) 推荐(0) 编辑

2015年10月12日

摘要: [OutputCache(Location = OutputCacheLocation.None, NoStore = true)] [Table("User")]:定义UserDefinition对应的数据库表为User |*** [Key]:定义UserId 为主键 |*** [Display( 阅读全文
posted @ 2015-10-12 23:06 夜、微凉 阅读(337) 评论(0) 推荐(0) 编辑

2015年5月28日

摘要: 只需要继承这个接口即可实现创建Session对象。 IHttpHandler,System.Web.SessionState.IHttpSessionState 代码示例: public class login :IHttpHandler,System.Web.SessionState.IHttpS 阅读全文
posted @ 2015-05-28 22:00 夜、微凉 阅读(591) 评论(0) 推荐(0) 编辑

2015年5月7日

摘要: 前台GridView属性设置 <td> <asp:GridView ID="GridView" runat="server" AutoGenerateColumns="false"> <Columns> <asp:TemplateField> <ItemTemplate> <asp:CheckBox 阅读全文
posted @ 2015-05-07 12:41 夜、微凉 阅读(791) 评论(1) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7