李空

博客园 首页 新随笔 联系 订阅 管理

2016年6月14日 #

摘要: /// /// HTTP GET方式请求数据. /// /// URL. /// public static string HttpGet(string url) { HttpWebRequest request = (HttpWebRequest)Htt... 阅读全文
posted @ 2016-06-14 22:22 李空 阅读(2285) 评论(0) 推荐(0) 编辑

2014年12月5日 #

摘要: public void ProcessRequest(HttpContext context) { context.Response.ContentType = "application/json"; string json=... 阅读全文
posted @ 2014-12-05 17:27 李空 阅读(656) 评论(0) 推荐(0) 编辑

2014年3月18日 #

摘要: 1 2 3 4 5 6 阅读全文
posted @ 2014-03-18 22:29 李空 阅读(129) 评论(0) 推荐(0) 编辑

2014年3月9日 #

摘要: 1、说明:复制表(只复制结构,源表名:a 新表名:b) (Access可用)法一:select * into b from a where 11法二:select top 0 * into b from a2、说明:拷贝表(拷贝数据,源表名:a 目标表名:b) (Access可用)insert into b(a, b, c) select d,e,f from a;3、说明:跨数据库之间表的拷贝(具体数据使用绝对路径) (Access可用)insert into b(a, b, c) select d,e,f from a in ‘具体数据库’ where 条件例子:..from b in & 阅读全文
posted @ 2014-03-09 18:02 李空 阅读(242) 评论(0) 推荐(0) 编辑

2014年3月4日 #

摘要: Minimal Flowplayer setup 阅读全文
posted @ 2014-03-04 21:13 李空 阅读(212) 评论(0) 推荐(0) 编辑

2014年2月16日 #

摘要: 1 2 3 阅读全文
posted @ 2014-02-16 20:49 李空 阅读(187) 评论(0) 推荐(0) 编辑

2014年2月1日 #

摘要: 1 @{ 2 ViewBag.Title = "Register"; 3 } 4 5 6 7 8 64 @using (Html.BeginForm(null, null, FormMethod.Post, new { id = "Registerform" }))65 {66 Account 67 Password68 Confirm Password69 Email70 71 } MemberEntity objMemberEntity = new MemberEntity(); public ActionRes... 阅读全文
posted @ 2014-02-01 17:42 李空 阅读(253) 评论(0) 推荐(0) 编辑

2014年1月8日 #

摘要: 1 @using System.Web.Optimization; 2 @{ 3 Layout = null; 4 } 5 6 7 8 9 10 11 12 13 35 36 37 38 40 41 42 FruitCategoryEntity.cs 1 //public List GetAll() 2 //{ 3 // List items = new List(); 4 // DataTable dt = SQLHelper.Execut... 阅读全文
posted @ 2014-01-08 23:54 李空 阅读(363) 评论(0) 推荐(0) 编辑

2013年12月27日 #

摘要: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 private void LoadXml() 2 { 3 XElement bookXml = XElement.Load(Server.MapPath("~/Book.xml")); 4 5 if (bookXml == null) 6 { 7 return; 8 } 9 10... 阅读全文
posted @ 2013-12-27 19:25 李空 阅读(164) 评论(0) 推荐(0) 编辑

2013年12月25日 #

摘要: //输出体重最大的同学,并要求最大体重得大于39,并按照体重大下,对分组结果进行排序。 var result = from query in linq.Student group query by query.ClassID into gS where gS.Max(s => s.StudentWeigth) > 39 orderby gS.Max(s => s.St... 阅读全文
posted @ 2013-12-25 15:41 李空 阅读(362) 评论(0) 推荐(0) 编辑