2015年8月18日
摘要:
转:http://blog.csdn.net/vbangle/article/details/5643091#// 对Date的扩展,将 Date 转化为指定格式的String // 月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符, // 年(y)可以用 1...
阅读全文
posted @ 2015-08-18 13:56
Q&A
阅读(174)
推荐(0)
2015年5月9日
摘要:
一个合作伙伴说UDP发送数据,A(IP:192.168.1.100 子网掩码255.255.255.0)网段能发数据到B网段,但B(IP:192.168.2.100 子网掩码255.255.255.0)网段不能发数据到A网段,说法是跨路由的情况下,数据只能从下层住上层发,而不能由上层住下层发。我觉...
阅读全文
posted @ 2015-05-09 14:43
Q&A
阅读(5192)
推荐(0)
2015年4月29日
摘要:
protected void Application_Start() { //Enable-Migrations //每次都删除数据库再重建 System.Data.Entity.Database.SetInitializer( new System.Data.Entity.DropCreateDa...
阅读全文
posted @ 2015-04-29 14:18
Q&A
阅读(219)
推荐(0)
摘要:
public ActionResult Test() { using (MvcShoppingContext db = new MvcShoppingContext()) { var objectContext = ((IObjectContextAdapter)db).ObjectContext;...
阅读全文
posted @ 2015-04-29 14:15
Q&A
阅读(229)
推荐(0)
2014年12月16日
摘要:
' /> protected void ReorderList1_ItemReorder(object sender, AjaxControlToolkit.ReorderListItemReorderEventArgs e) { string strCnn = ...
阅读全文
posted @ 2014-12-16 17:06
Q&A
阅读(156)
推荐(0)
2014年12月15日
摘要:
' /> ReorderList Demonstration To Do: ' /> ' /> ' ValidationGroup="edit" /> ' ValidationGroup="edit" ...
阅读全文
posted @ 2014-12-15 17:47
Q&A
阅读(213)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data...
阅读全文
posted @ 2014-12-15 16:38
Q&A
阅读(172)
推荐(0)
摘要:
文章出处:http://www.cnblogs.com/tristanguo/archive/2009/05/15/1457197.htmlusing System;using System.Collections.Generic;using System.Linq;using System.Tex...
阅读全文
posted @ 2014-12-15 14:34
Q&A
阅读(141)
推荐(0)
2013年2月27日
摘要:
http://www.cnblogs.com/artech/archive/2009/11/30/1613988.html
阅读全文
posted @ 2013-02-27 09:47
Q&A
阅读(104)
推荐(0)
2012年12月6日
摘要:
迭代器模式(Iterator),提供一种方法顺序访问一个聚合对象中的各个元素,而又不暴露该对象内部的表示。迭代器为遍历不同的聚集结构提供如开始、下一个、是否结束、当前哪一项等统一的借口。迭代器模式结构图:Iterator类///////////////////////////////////////////////////////////// Iterator.cs // Implementation of the Class Iterator // Generated by Enterprise Architect // Created on: 23-七月-2011 13:...
阅读全文
posted @ 2012-12-06 16:20
Q&A
阅读(211)
推荐(0)