随笔分类 -  心情随笔

摘要:在Windows 2000/xp时,VS.NET 2005 WEB 应用程序是建立在IIS6的基础上的,但当我们将操作系统升级到VISTA时,再使用VS.NET2005的WEB应用程序时就出现非常多的问题.现在将部分体验写以文章以示纪念!呵呵! 阅读全文
posted @ 2008-06-23 18:05 Gavin Liu 阅读(442) 评论(0) 推荐(0)
摘要:相信很多人都有和笔者一样的经历,由WIN XP构成的网络所有设置和由WIN 2000构成的完全一样,但还是出现了根本不能访问的情况,笔者认为这主要是因为XP的安全设置和2000不一样所导致。 阅读全文
posted @ 2006-11-03 20:43 Gavin Liu 阅读(1140) 评论(1) 推荐(0)
摘要:ASP.NET很灵活,这归功于它采用文本文件方式的配置方式. 另外的那种用页面标识符的方法应该是从ASP延续下来的. 写ASP+程序时候碰到中文显示问题,运行后发现ASP+从数据库中读出来的中文全部变成了?????,解决办法: 方法一: 在config.web中设置globalization段 可以是utf-8、gb2312等等。 方法二: 后来订阅了微软的... 阅读全文
posted @ 2006-11-03 20:37 Gavin Liu 阅读(2092) 评论(2) 推荐(0)
摘要:(一).说明 取得设备网卡的MAC地址和硬盘的卷标号(二).代码using System;using System.Management;namespace NetCard{/// /// 读取设备/// public class run{ private ManagementClass mc; private ManagementObjectCollection moc; p... 阅读全文
posted @ 2006-08-28 23:32 Gavin Liu 阅读(562) 评论(0) 推荐(0)
摘要:多少年来,许多的编程语言和工具都包含对规则表达式的支持,.NET基础类库中包含有一个名字空间和一系列可以充分发挥规则表达式威力的类,而且它们也都与未来的Perl 5中的规则表达式兼容。 阅读全文
posted @ 2006-08-28 23:30 Gavin Liu 阅读(537) 评论(0) 推荐(0)
摘要://Copyright (C) Microsoft Corporation. All rights reserved. using System;using System.Collections.Generic;using System.Text; namespace Yield{ class Yield { public static class NumberList... 阅读全文
posted @ 2006-06-23 18:51 Gavin Liu 阅读(552) 评论(0) 推荐(0)
摘要:// Copyright (C) Microsoft Corporation. All rights reserved. using System;using System.Collections;using System.Collections.Generic;using System.Text; namespace Generics_CSharp{ //Type parameter T... 阅读全文
posted @ 2006-06-23 18:42 Gavin Liu 阅读(442) 评论(0) 推荐(0)
摘要://Copyright (C) Microsoft Corporation. All rights reserved. // events2.csusing System;namespace MyCollections { using System.Collections; // A class that works just like ArrayList, but sends eve... 阅读全文
posted @ 2006-06-23 18:41 Gavin Liu 阅读(320) 评论(0) 推荐(0)
摘要://Copyright (C) Microsoft Corporation. All rights reserved. // events1.csusing System;namespace MyCollections { using System.Collections; // A delegate type for hooking up change notifications. ... 阅读全文
posted @ 2006-06-23 18:39 Gavin Liu 阅读(337) 评论(0) 推荐(0)
摘要://Copyright (C) Microsoft Corporation. All rights reserved. // compose.csusing System; delegate void MyDelegate(string s); class MyClass{ public static void Hello(string s) { Console.Wri... 阅读全文
posted @ 2006-06-23 18:37 Gavin Liu 阅读(269) 评论(0) 推荐(0)
摘要://Copyright (C) Microsoft Corporation. All rights reserved. // bookstore.csusing System; // A set of classes for handling a bookstore:namespace Bookstore { using System.Collections; // Describes... 阅读全文
posted @ 2006-06-23 18:36 Gavin Liu 阅读(240) 评论(0) 推荐(0)
摘要:csc CondMethod.cs tracetest.cs /d:DEBUG tracetest A B C //Copyright (C) Microsoft Corporation. All rights reserved. // TraceTest.cs// compile with: /reference:CondMethod.dll// arguments: A B Cusing ... 阅读全文
posted @ 2006-06-23 18:34 Gavin Liu 阅读(349) 评论(0) 推荐(0)
摘要:编译与执行:csc tokens2.cs tokens2 tokens2.cs ://Copyright (C) Microsoft Corporation. All rights reserved. // tokens2.csusing System;using System.Collections; public class Tokens: IEnumerable{ private s... 阅读全文
posted @ 2006-06-23 18:17 Gavin Liu 阅读(219) 评论(0) 推荐(0)
摘要:编译与执行: csc tokens.cs tokens tokens.cs ://Copyright (C) Microsoft Corporation. All rights reserved. // tokens.csusing S... 阅读全文
posted @ 2006-06-23 18:14 Gavin Liu 阅读(246) 评论(0) 推荐(0)
摘要:编译与执行: csc arrays.cs arrays arrays.cs ://Copyright (C) Microsoft Corporation. All rights reserved. // arrays.csusi... 阅读全文
posted @ 2006-06-23 18:11 Gavin Liu 阅读(297) 评论(0) 推荐(0)
摘要:  随着所谓无刷新网页交互技术的流行,Ajax做为一个代表在网页无刷新中可谓是无人不晓,是不?   我认为Ajax只是将下面类似的这些功能都封装起来,利用Ajax.Utility.RegisterTypeForAjax(server_Class)来注册服务器端方法,并实现IHttpHander接口来实现脚本的插入(当然不是插入到页面中,而是输出到<Script>的Src中),办法是很好哦,实现了源JavaScript的隐藏。   其实无刷新网页交互也并不是很复杂,我们也可以自己写代码做到,它(基于Microsoft的)主要用到Microsoft.XMLHTTP和Microsoft.XMLDOM或者System.Xml.XmlDocument来实现大部分的功能(至少我认为是这样)。 阅读全文
posted @ 2006-01-12 17:48 Gavin Liu 阅读(1491) 评论(4) 推荐(0)


Right people get the right information at the right time.
以技术求生存,以市场求发展;学以至用,开拓创新;达技术之颠峰,至市场之广阔!