摘要: result = from book in books where book.Title.StartsWith("I") orderby book.Price select new { Key=book.Title,Value = book.Price}; 从books集合里枚举一个book,如果这个book的标题是以”I”开头的就把它加入到返回集合中,并把返回集合按照book的价钱排序将上面的代... 阅读全文
posted @ 2008-08-05 21:17 ant520 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1. .net 1.1 this.Page.SmartNavigation = true; .net 2.0 this.Page.MaintainScrollPositionOnPostBack = true; IE中让文本框刷新之后保持原值 阅读全文
posted @ 2008-08-05 17:59 ant520 阅读(446) 评论(0) 推荐(0) 编辑