摘要:
DateTime dt = DateTime.ParseExact("20060709110901","yyyyMMddHHmmss", System.Globalization.CultureInfo.CurrentCulture); 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(261)
评论(0)
推荐(0)
摘要:
IEnumerable继承了 IEnumerable,是可以循环访问的集合,就是一个迭代. IList 继承了 interface IList : ICollection, IEnumerable, IEnumerable. 有了ICollection 就可以做添加删除之类的... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(130)
评论(0)
推荐(0)
摘要:
相同点: 虚方法(virtual)和抽象方法(abstract)都可以被派生类重写 不同点: 1.虚方法(virtual)有方法实体,抽象方法(abstract)没有方法实体【类似接口】 virtual void SayWord() { //代码 } abstract vo... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(107)
评论(0)
推荐(0)
摘要:
拖动 拖动交换单元格内容 ... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(329)
评论(0)
推荐(0)
摘要:
前台 '> 后台 AgentPrice ap = (AgentPrice)e.Item.DataItem; Label lblRegionCost = e.Item.FindControl("lblRegionCost") as Label; lblRegionCost.Text... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(180)
评论(0)
推荐(0)
摘要:
1.web.config添加数据库连接 2.创建DbContext,类的名字必须和webconfig建的名字一致 public class GuestbookContext:DbContext { public System.Data.Entity.DbSet Entries { ... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(71)
评论(0)
推荐(0)
摘要:
body:before { content: ""; position: fixed; top: -10px; left: 0; width: 100%; height: 10px; -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8); -... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(99)
评论(0)
推荐(0)
摘要:
1 (function($) { var cache = []; // Arguments are image paths relative to the current page. $.preLoadImages = function() {... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(349)
评论(0)
推荐(0)
摘要:
$('input:checkbox').each(function () // 循环每个checkbox parseInt($(this).val();// 计算 check box的值 sample ... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(235)
评论(0)
推荐(0)
摘要:
Index.cshtml @model IEnumerable @section head { } comments @foreach (var comment in Model) { @comment } @Html.TextArea("comment", new { ro... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(196)
评论(0)
推荐(0)

浙公网安备 33010602011771号