Michael Chai

I am SErVice-oRienTed !

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2006年5月16日

摘要: 好多朋友要ComponentArt Web.UI 的源代码,说是要学习学习,下面是源代码,要的就下吧。ComponentArt Web.UI 2006.1 (1208)源代码。对了,请勿用作商业用途啊下载 阅读全文
posted @ 2006-05-16 11:11 cp 阅读(4556) 评论(32) 推荐(0) 编辑

2006年5月15日

摘要: 26.1.1 Overload resolution 重载决断 Lambda expressions in an argument list affect overload resolution in certain situations. 在特定情况中,lambda表达式在某个参数列表中会影响重载决断。 The following rule augments §7.4.2.3: Given ... 阅读全文
posted @ 2006-05-15 21:00 cp 阅读(1057) 评论(0) 推荐(0) 编辑

2006年5月14日

摘要: 26.1.1 Type inference 类型推断 When a generic method is called without specifying type arguments, a type inference process attempts to infer type arguments for the call. Lambda expressions passed as arg... 阅读全文
posted @ 2006-05-14 22:06 cp 阅读(808) 评论(0) 推荐(0) 编辑

摘要: 26.1 Lambda expressions Lambda 表达式 C# 2.0 introduces anonymous methods, which allow code blocks to be written “in-line” where delegate values are expected. While anonymous methods provide much of th... 阅读全文
posted @ 2006-05-14 20:49 cp 阅读(4298) 评论(1) 推荐(0) 编辑

2006年5月12日

摘要: 26.1 Extension methods扩展函数 Extension methods are static methods that can be invoked using instance method syntax. In effect, extension methods make it possible to extend existing types and construct... 阅读全文
posted @ 2006-05-12 23:15 cp 阅读(1098) 评论(0) 推荐(0) 编辑

摘要: 26.1 Implicitly typed local variables隐式类型化的本地变量 In an implicitly typed local variable declaration, the type of the local variable being declared is inferred from the expression used to initialize th... 阅读全文
posted @ 2006-05-12 22:52 cp 阅读(761) 评论(0) 推荐(0) 编辑

摘要: 呵呵,这是基于PDC 2005 发布的C#3.0规范进行的翻译,因为很匆忙,所以就把英文一起贴出来,这样便于英文好的朋友指正。我会持续在cp612sh.cnblogs.com上发布接下来的翻译内容,有兴趣的朋友可以到MSDN自行下载LINQ的相关资源,因为已经有了相应C#3.0的编译器,也就是说,你可以自己弄一个在VS2005上跑跑,做些试验,写点代码。祝愿大家编程愉快。 26. Overview... 阅读全文
posted @ 2006-05-12 22:46 cp 阅读(1365) 评论(0) 推荐(0) 编辑

2006年3月25日

摘要: IIS居然启动不起来。日志中是这么说的:服务无法绑定实例 1。返回数据是错误代码。 有关此消息的详细信息,请访问 Microsoft 联机支持站点: http://www.microsoft.com/contentredirect.asp。 有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。这个等于没有说。上Google查... 阅读全文
posted @ 2006-03-25 01:29 cp 阅读(732) 评论(0) 推荐(0) 编辑

2006年2月1日

摘要: 标题中的这个常量申明,不是会VB的人可能会不知道,比如--我。查了半天搞明白啦,原来是强制转换为double啊~~Msdn上查到的,还是贴出来,省得ms变地址得时候找不到。 The following example demonstrates correct usage of type characters and enclosing characters:Option Strict Off Pu... 阅读全文
posted @ 2006-02-01 06:34 cp 阅读(207) 评论(0) 推荐(0) 编辑

2005年11月16日

摘要: 被人问这么个问题:要在asp.net中Button事件触发之前调用确认或者取消的javascript代码,如何做到? 下面是我的回答:现在看来很简单。后台代码如下:protected void Button_Click(object sender, EventArgs e){//处理你要做的事情,例如,操作数据库等; }顺便提一句,很多人不知道javascript,包括很多写了很长时间程序的人,上... 阅读全文
posted @ 2005-11-16 12:39 cp 阅读(240) 评论(3) 推荐(0) 编辑