sql语句-linq语言-lambda表达式对照
摘要:1、 查询Student表中的所有记录的Sname、Ssex和Class列。select sname,ssex,class from studentLinq: from s in Students select new { s.SNAME, s.SSEX, s.CLASS }Lambda: Students.Select( s => new { SNAME = s.SNAME,SSEX = ...
阅读全文
posted @
2010-10-21 15:21
merrick
阅读(263)
推荐(0)
ASP.NET程序中常用的三十三种代码【转】
摘要:1. 打开新的窗口并传送参数: 传送参数:response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>")接收参数:string a = Request.QueryString("id");string b = Requ...
阅读全文
posted @
2010-10-12 11:47
merrick
阅读(210)
推荐(0)
(收藏)《博客园精华集》ASP.NET分册
摘要:为什么foreach(HttpCookie cookie in Request.Cookies)会出错 作者:dudu 解读System.Web.UI.Page中关键方法ProcessRequestMain() 作者:dudu 在Asp.net页面中实现数据饼图 作者:TerryLee 在Web页面中控制其元素的选择状态 作者:birdshome ASP.NET控件开发之"代码紧凑原则" 作者:b...
阅读全文
posted @
2010-10-03 23:06
merrick
阅读(1306)
推荐(0)