摘要: System.Collections 命名空间包含接口和类,这些接口和类定义各种对象(如列表、队列、位数组、哈希表和字典)的集合。 System.Collections.Generic 命名空间包含定义泛型集合的接口和类,泛型集合允许用户创建强类型集合,它能提供比非泛型强类型集合更好的类型安全性和性能。 System.Collections.Specialized 命名空间包含专用的和强类型的集合... 阅读全文
posted @ 2009-03-03 10:49 农十四 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/amboyna/archive/2008/02/16/1070474.html linux下的文件结构,看看每个文件夹都是干吗用的 /bin 二进制可执行命令 /dev 设备特殊文件 /etc 系统管理和配置文件 /etc/rc.d 启动的配置文件和脚本 /home 用户主目录的基点,比如用户user的主目录就是/home/us... 阅读全文
posted @ 2009-02-11 20:32 农十四 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 转自:http://hi.baidu.com/smile8021/blog/item/f6b81e0aa870713db1351d82.html(天天向上) 最近在看web sevice 方面的东西,顺便看了下序列化,懂了不少啊 : 从MarshalByRefObject派生的类和有[Serializable]的类都可以跨越应用程序域作为参数传递。 从MarshalByRefObject派生的类按... 阅读全文
posted @ 2009-02-02 18:42 农十四 阅读(356) 评论(1) 推荐(0) 编辑
摘要: 转自:http://hi.baidu.com/oak1314 出问题的代码: 怎么这个this返回的不对呀? 修改后这样: 这下这个this对了? 其实onclick 后面的语句被解释为function,所以th... 阅读全文
posted @ 2009-01-19 22:41 农十四 阅读(3964) 评论(0) 推荐(0) 编辑
摘要: 0 && image.height>0){ flag=true; if(image.width/image.height>= FitWidth/FitHeight){ if(image.width>FitWidth){ ImgD.width=FitWidth; ImgD.height=(image.height*FitWidth)/image.wi... 阅读全文
posted @ 2008-11-21 09:05 农十四 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 如下C#代码: int sum=0; for(int i=1;i 0) Then GoTo continue End If sum = sum + i continue: Next 另外在VB.NET 2005,已经实现了continue语法 For i As Integer = 0 To 100 ' If i = 50 skip Console.Writeline ... 阅读全文
posted @ 2008-11-21 09:01 农十四 阅读(1102) 评论(0) 推荐(0) 编辑
摘要: //iframe自适应高度 function SetCwinHeight(iframeID){ var bobo=document.getElementById(iframeID); if (document.getElementById){ if (bobo && !window.opera){ if (bobo.contentDocument && bobo.contentDocume... 阅读全文
posted @ 2008-11-12 16:35 农十四 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 两个DIV左右对齐,页面居中 阅读全文
posted @ 2008-10-15 12:08 农十四 阅读(1551) 评论(0) 推荐(0) 编辑
摘要: 转自:http://hi.baidu.com/any110/blog/item/f45f48f3d0d701cf0a46e017.html test ... 阅读全文
posted @ 2008-09-12 02:15 农十四 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 作者: 2008-08-06 16:11 来源: 4studio 一般常见的表单是单选,文本输入以及选择框,但也有多选的,处理多选也还有讲究的,我们看看以下代码: Invest interest 以上代码点击提交后是这样的: Array ( [product] => Array ( [0] => Foreign E... 阅读全文
posted @ 2008-09-12 02:13 农十四 阅读(4222) 评论(0) 推荐(0) 编辑