摘要:在VS2008中将TextBox文本框属性Readonly设为true之后,无法通过代码提交值的问题, 解决办法:在Page_Load事件中加入如下代码: TextBox1.Attributes["Readonly"] = "readonly"; 阅读全文
C# 3.0 New Language Features (Part 2)
2008-05-02 11:39 by Kevin-wang, 282 阅读, 0 推荐, 收藏,
摘要:IntroductionIn the previous article, I illustrated some of the C# 3.0 new language and compiler features. I'll illustrate the rest of the features in this second part. Implicitly Typed Local Variables... 阅读全文
C# 3.0 New Language Features (Part 1)
2008-05-02 11:23 by Kevin-wang, 301 阅读, 0 推荐, 收藏,
摘要:IntroductionWell, in this article I'll illustrate some of the C# 3.0 new language and compiler features and I'll illustrate the rest of the features in the second part. First of all, let's define all ... 阅读全文
SqlServer2K5的新特性
2008-05-01 13:27 by Kevin-wang, 186 阅读, 0 推荐, 收藏,
摘要:1. TOP 表达式 SQL Server 2000的TOP是个固定值,是不是觉得不爽,现在改进了。 --前n名的订单 declare @n int set @n = 10 select TOP(@n) * from Orders 2. 分页 不知各位过去用SQL Server 2000是怎么分页的,大多都用到了临时表。SQL Server 2005一句话就支持分页,性能据说也非... 阅读全文