随笔分类 -  个人成长之路

摘要:// 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 阅读(317) 评论(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 阅读(333) 评论(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 阅读(264) 评论(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 阅读(237) 评论(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 阅读(1489) 评论(4) 推荐(0)
摘要:SQL Server ODBC ,OLEDB, OleDbConnection (.NET) ... Trusted Connection: "Data Source=Aron1;Initial Catalog=pubs;Integrated Security=SSPI;" (use serverNameinstanceName as Data Source to use an specifik SQLServer instance, only SQLServer2000) Connect via an IP address: "Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=pubs;User ID=sa;Password=asdasd;" (DBMSSOCN=TCP/IP instead of Named Pipes, at the end of the Data Source is the port to use ( 阅读全文
posted @ 2005-11-18 13:00 Gavin Liu 阅读(851) 评论(0) 推荐(0)
摘要:什么是 CLR? 什么是 CTS?什么是 CLS?什么是 IL?什么是 C#? 在 .NET 范畴里,“被管理”是什么含义? 什么是映像? 阅读全文
posted @ 2005-11-18 12:56 Gavin Liu 阅读(417) 评论(0) 推荐(0)
摘要:经常在论坛里看到有问怎么实现验证码的帖子,其实关于验证码的文章在CSDN,DEV-CLUB等网站上都有很多,但是很多文章只讲诉了如何输出一个随机生成数字或字符的图象,当然了,这个是验证码的核心了,但是对很多ASP.NET的初学者来说,怎么使用它生成的图象又成了一个问题(论坛有不少问这个的),这也是我写本文的一个原因. 阅读全文
posted @ 2005-11-18 12:53 Gavin Liu 阅读(656) 评论(2) 推荐(0)
摘要:这一区段包含的设置会明确地允许()或者不允许()对一个用户、一组用户或者一类用户的访问。这些设置所能够接受的值是:用于匿名用户的问号(?)、用于所有用户的星号(*),或者是使用逗号隔开的特定用户名的列表。 阅读全文
posted @ 2005-11-18 12:48 Gavin Liu 阅读(385) 评论(0) 推荐(0)
摘要:在创建Web Application时,VS.Net需要在创建路径下创建后缀名为.tmp的临时文件。 当VS.Net创建好项目之后,就会以HTTP的方式向Web文件夹寻求项目文件,同时也寻求临时文件。由于windows2003在某些安装步骤下的IIS没有把.tmp文件设置为MIME类型,所以IIS向VS.Net返回了未知文件类型的错误,即找不到文件。所以VS.Net认为你的IIS路径设置不对。 阅读全文
posted @ 2005-11-18 12:45 Gavin Liu 阅读(781) 评论(0) 推荐(0)


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