09 2014 档案

摘要:JavaScript 面向对象程序设计(下)——继承与多态 前面我们讨论了如何在 JavaScript 语言中实现对私有实例成员、公有实例成员、私有静态成员、公有静态成员和静态类的封装。这次我们来讨论一下面向对象程序设计中的另外两个要素:继承与多态。 1 又是几个基本概念 为什么要说又呢? 在讨论继承时,我们已经列出了一些基本概念了,那些概念是跟封装密切相关的概念,今天我们要讨论的基本概念,主... 阅读全文
posted @ 2014-09-25 14:08 h.yl 阅读(152) 评论(0) 推荐(0)
摘要:jquery刷新页面(局部及全页面刷新) 2009-12-31 11:39:32| 分类: javascript|举报|字号 订阅 局部刷新: 这个方法就多了去了,常见的有以下几种; $.get方法,$.post方法,$.getJson方法,$.ajax方法如下 前两种使用方法基本上一样 $.get(”Default.php”, {id:”1″, page: “2″ },function(d... 阅读全文
posted @ 2014-09-16 16:08 h.yl 阅读(321) 评论(0) 推荐(0)
摘要:Get Selected Row from ASP.NET MVC 3 WebGrid Abstract: The following article demonstrates how to get the selected row from the ASP.NET MVC 3 WebGrid and what to do to display data. Every website has to... 阅读全文
posted @ 2014-09-14 22:31 h.yl 阅读(322) 评论(0) 推荐(0)
摘要:WebGrid Helper with Check All Checkboxes myEvernote Link Tuesday, September 13, 2011ASP.NET ASP.NET MVC Html Helper jQuery WebMatrix Introduction: WebGrid helper is one of the helper of AS... 阅读全文
posted @ 2014-09-14 22:09 h.yl 阅读(510) 评论(0) 推荐(0)
摘要:How to Add custom html to Header in WebGrid MyEvernote Link Posted on March 30, 2013by mtryambake How to make a MVC 3 Webgrid with checkbox column?This article will show you a How to Add custom html... 阅读全文
posted @ 2014-09-14 22:00 h.yl 阅读(418) 评论(0) 推荐(0)
摘要:Reloading a Razor WebGrid after Ajax calls using a partial view If you are using Razor and MVC you probably make some use of the built in controls in System.Web.Helpers. WebGrid, located in the Helper... 阅读全文
posted @ 2014-09-14 21:22 h.yl 阅读(335) 评论(0) 推荐(0)
摘要:jQuery 参考手册 - 遍历 jQuery Ajax jQuery 数据 jQuery 遍历函数 jQuery 遍历函数包括了用于筛选、查找和串联元素的方法。 函数描述 .add()将元素添加到匹配元素的集合中。 .andSelf()把堆栈中之前的元素集添加到当前集合中。 .children()获得匹配元素集合中每个元素的所有子元素。 .closest()从元素本身开始,逐级向上级元素匹配,... 阅读全文
posted @ 2014-09-11 15:36 h.yl 阅读(150) 评论(0) 推荐(0)
摘要:原文链接 找了半天,原来如此: 在aspx中: 在cshtml中: @using Martian.Areas.SFC.Models@using Martian.Areas.SFC.Tools 个人现在喜欢的风格是加上;,因为这样看起来和C#中唯一的差别就是多了个@ @using Martian.Areas.SFC.Models;@using Martian.Areas.SFC.Tools; 阅读全文
posted @ 2014-09-11 09:52 h.yl 阅读(187) 评论(0) 推荐(0)
摘要:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://cnn237111.blog.51cto.com/2359144/984466 之前写过一篇文章Jquery Ajax方法传值到action,本文是对该文的补充。 假设 controller中的方法是如下: public ActionResult ReadPerson(Person... 阅读全文
posted @ 2014-09-10 20:05 h.yl 阅读(223) 评论(0) 推荐(0)
摘要:jQuery ajax - load() 方法 jQuery Ajax 参考手册 实例 使用 AJAX 请求来改变 div 元素的文本:$("button").click(function(){ $("div").load('demo_ajax_load.txt'); }); 亲自试一试 您可以在页面底部找到更多 TIY 实例 定义和用法 load() 方法通过 AJAX 请求从服务器加载数... 阅读全文
posted @ 2014-09-10 17:18 h.yl 阅读(334) 评论(0) 推荐(0)
摘要:Raw SQL Queries Entity Framework allows you to query using LINQ with your entity classes. However, there may be times that you want to run queries using raw SQL directly against the database. This inc... 阅读全文
posted @ 2014-09-09 13:33 h.yl 阅读(312) 评论(0) 推荐(0)
摘要:Links EntityFramework This is a .net ORM Mapper Framework from Microsoft to help you talking with your Database in an object oriented manner. Wikipedia Database Transaction A database transaction, by ... 阅读全文
posted @ 2014-09-08 23:14 h.yl 阅读(162) 评论(0) 推荐(1)
摘要:LINK With the Entity Framework most of the time SaveChanges() is sufficient. This creates a transaction, or enlists in any ambient transaction, and does all the necessary work in that transaction. Som... 阅读全文
posted @ 2014-09-08 23:13 h.yl 阅读(396) 评论(0) 推荐(0)
摘要:Data Developer Center > Learn > Entity Framework > Get Started > Working with Transactions (EF6 Onwards) EF6 Onwards Only - The features, APIs, etc. discussed in this page were introduced in Entity... 阅读全文
posted @ 2014-09-08 23:12 h.yl 阅读(259) 评论(0) 推荐(0)
摘要:整理一下Entity Framework的查询 2012-08-30 13:41:59 标签:Entity Framework 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://boytnt.blog.51cto.com/966121/977382 Entity Framework是个好东西,虽然没有Hibernate功能强大,但... 阅读全文
posted @ 2014-09-08 22:07 h.yl 阅读(189) 评论(0) 推荐(0)
摘要:Web Pages - Efficient Paging Without The WebGrid If you want to display your data over a number of pages using WebMatrix Beta1, you have two options. One is to use the built-in paging support that com... 阅读全文
posted @ 2014-09-07 23:29 h.yl 阅读(235) 评论(0) 推荐(0)
摘要:WebGrid Helper with Check All Checkboxes Tuesday, September 13, 2011ASP.NET ASP.NET MVC Html Helper jQuery WebMatrix Introduction: WebGrid helper is one of the helper of ASP.NET Web Pages(WebMatrix) ... 阅读全文
posted @ 2014-09-07 23:21 h.yl 阅读(383) 评论(0) 推荐(0)
摘要:WebGrid with filtering, paging and sorting by Jose M. Aguilar on April 24, 2012 in Web Development A few days ago I received some questions on the use of the Webgrid helper in the comments section of ... 阅读全文
posted @ 2014-09-07 23:12 h.yl 阅读(240) 评论(0) 推荐(0)
摘要:ASP.NET MVC WebGrid – Performing true AJAX pagination and sorting FEBRUARY 27, 2012 14 COMMENTS WebGrid is a very powerful HTML helper component introduced with ASP.NET MVC 3 and ASP.NET Web Pages. ... 阅读全文
posted @ 2014-09-07 23:09 h.yl 阅读(233) 评论(0) 推荐(0)
摘要:« ‹ › » 阅读全文
posted @ 2014-09-07 09:25 h.yl 阅读(113) 评论(0) 推荐(0)
摘要:2014-09-04[1] Jsonvar contact = new Object();contact.firstname = "Jesper";contact.surname = "Aaberg";contact.phone = ["555-0100", "555-0120"];var memb... 阅读全文
posted @ 2014-09-04 15:16 h.yl 阅读(229) 评论(0) 推荐(0)