文章分类 -  C#

C# Related...
摘要:Tip #75: Did you know…How to maintain scrollposition after post back? Web Platform and Tools 8 Jun 2009 3:43 PM Comments 10 When web pages are posted back to the server, by default user is returned to the top of the page. On a large web page, you might have a requirement to scroll down the user auto 阅读全文
posted @ 2011-06-29 11:45 Green.Lee 阅读(119) 评论(0) 推荐(0)
摘要:Linq 错误 linkobj.First().Attrb;当First()获取到的是实体,没有默认实体而 FirstOrDefault方法会返回默认实体所以 Linq 最好使用 xxxOrDefault()方法 阅读全文
posted @ 2010-09-29 10:11 Green.Lee 阅读(2218) 评论(0) 推荐(0)