摘要:
$(target).highcharts({ chart: { type: 'bar' }, colors: [ "#1ab394" ], ... 阅读全文
posted @ 2016-03-10 10:52
夜、微凉
阅读(1088)
评论(0)
推荐(0)
|
摘要:
$(target).highcharts({ chart: { type: 'bar' }, colors: [ "#1ab394" ], ... 阅读全文
posted @ 2016-03-10 10:52
夜、微凉
阅读(1088)
评论(0)
推荐(0)
摘要:
//验证是否为图片 jQuery.validator.addMethod("checkPic", function (value, element) { var filepath = $("#File").val(); //获得上传文件名 var fileArr = filepath.split("\\");... 阅读全文
posted @ 2016-01-20 12:47
夜、微凉
阅读(1463)
评论(0)
推荐(0)
摘要:
1、首先添加引入命名空间: using System.Net.Mail; 2、开始写代码,如下: 阅读全文
posted @ 2016-01-13 22:38
夜、微凉
阅读(307)
评论(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
夜、微凉
阅读(1017)
评论(0)
推荐(0)
摘要:
class Program { static void Main(string[] args) { EmployeeDAL DAL = new EmployeeDAL(); List list = DAL.GetAll().ToList(); //WriteTxt(list); ... 阅读全文
posted @ 2015-12-25 23:02
夜、微凉
阅读(1442)
评论(0)
推荐(0)
摘要:
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
夜、微凉
阅读(992)
评论(0)
推荐(0)
摘要:
[OutputCache(Location = OutputCacheLocation.None, NoStore = true)] [Table("User")]:定义UserDefinition对应的数据库表为User |*** [Key]:定义UserId 为主键 |*** [Display( 阅读全文
posted @ 2015-10-12 23:06
夜、微凉
阅读(355)
评论(0)
推荐(0)
摘要:
只需要继承这个接口即可实现创建Session对象。 IHttpHandler,System.Web.SessionState.IHttpSessionState 代码示例: public class login :IHttpHandler,System.Web.SessionState.IHttpS 阅读全文
posted @ 2015-05-28 22:00
夜、微凉
阅读(614)
评论(0)
推荐(0)
摘要:
前台GridView属性设置 <td> <asp:GridView ID="GridView" runat="server" AutoGenerateColumns="false"> <Columns> <asp:TemplateField> <ItemTemplate> <asp:CheckBox 阅读全文
posted @ 2015-05-07 12:41
夜、微凉
阅读(813)
评论(1)
推荐(0)
|