posts - 108,comments - 159,trackbacks - 22
     摘要: 例如现有文件内容如下:
-----------文件内容开始--------
Column1,Column2
00001234,00005678
-----------文件内容结束--------

读得的结果是<1234, 5678>,即它“智能”地认为我里面的内容为数字;而我希望它把内容当文本来处理,期望的结果是<00001234,00005678>,请问有没有什么方法可以直接用?  阅读全文
posted @ 2008-06-22 09:44 Silent Void 阅读(83) | 评论 (1)编辑
     摘要: N个元素的集合中,任选M个元素所构成的排列P(M in N)、组合C(M in N)  阅读全文
posted @ 2008-03-10 19:47 Silent Void 阅读(288) | 评论 (2)编辑
     摘要: SQL Statement  阅读全文
posted @ 2008-02-03 13:58 Silent Void 阅读(243) | 评论 (0)编辑
     摘要: loop  阅读全文
posted @ 2008-02-03 09:54 Silent Void 阅读(100) | 评论 (3)编辑
     摘要: 0. 一个单向链表,请设计算法判断该链表中有没有环?
1. 两个单向链表,有可能交叉,请设计算法判断是否交叉,如果交叉,返回交叉点。  阅读全文
posted @ 2008-02-02 16:53 Silent Void 阅读(510) | 评论 (5)编辑
     摘要: 1. 承载和使用 WCF 服务
2. WCF 深度寻址
3. WCF 消息传递基础  阅读全文
posted @ 2008-01-24 20:58 Silent Void 阅读(207) | 评论 (0)编辑
     摘要: 0. Auto-Implemented Properties;
1. Object initializers;
2. Collection Initializers;
3. Anonymous Types;
4. Extension Methods;
5. Lambda Expressions;
6. Partial Methods  阅读全文
posted @ 2008-01-17 19:50 Silent Void 阅读(249) | 评论 (0)编辑
     摘要: 使用的工具
GC 性能计数器
Windows 性能计数器
确认托管进程中的 OOM 异常
确定导致 OOM 异常的原因
衡量托管堆的大小
如果对象保留下来会怎样?
托管堆上的碎片是否会造成问题?
衡量在垃圾收集上花费的时间
研究高 CPU 使用  阅读全文
posted @ 2008-01-14 20:17 Silent Void 阅读(182) | 评论 (0)编辑
     摘要: 2008, A New Start!
2008, Life Still Rules....  阅读全文
posted @ 2008-01-05 16:45 Silent Void 阅读(86) | 评论 (0)编辑
     摘要: [Asp.Net]GridView中根据前后列之间的关联关系合并单元格  阅读全文
posted @ 2007-12-26 19:58 Silent Void 阅读(495) | 评论 (5)编辑
     摘要: 安全应用程序块提供的代码提供如下功能:
(1) 身份验证
(2) 授权
(3) 角色管理
(4) 配置文件管理
(5) 缓存主体   阅读全文
posted @ 2007-08-16 19:49 Silent Void 阅读(367) | 评论 (0)编辑
     摘要: 异常处理应用程序块被设计为支持包含在应用程序组件的 catch 语句中的典型代码。该应用程序块允许开发人员将此逻辑封装为可重用的异常处理程序,而不是在应用程序组件的相同 catch 块中重复这段代码(例如,记录异常信息)。异常处理程序是封装异常处理逻辑和实现名为 IExceptionHandler 的异常处理应用程序块接口的 .NET 类.  阅读全文
posted @ 2007-08-16 19:37 Silent Void 阅读(281) | 评论 (0)编辑
     摘要: 应用程序可以使用日志块在多个位置记录事件:
(1) 事件日志
(2) 电子邮件
(3) 数据库
(4) 消息队列
(5) 文件
(6) WMI   阅读全文
posted @ 2007-08-15 09:06 Silent Void 阅读(333) | 评论 (0)编辑
     摘要: 只支持对称加密和Hash摘要  阅读全文
posted @ 2007-08-15 08:58 Silent Void 阅读(175) | 评论 (0)编辑
     摘要: 简化实现通用数据访问功能的开发任务。应用程序可以在很多情况下使用应用程序块,例如读取显示数据、获得通过应用程序层的数据,以及将更改过的数据提交回数据库系统等。应用程序块包括对存储过程和内嵌 SQL 以及常见内务处理任务(例如,管理连接、创建与缓存封装在应用程序块的方法中的参数)的支持。换句话说,数据访问应用程序块提供对最常用的 ADO.NET 功能的访问。  阅读全文
posted @ 2007-08-08 20:32 Silent Void 阅读(310) | 评论 (1)编辑
     摘要: It supports both an in-memory cache and, optionally, a backing store that can either be the database store or isolated storage. The application block can be used without modification; it provides all the needed functionality to retrieve, add, and remove cached data.   阅读全文
posted @ 2007-08-08 20:27 Silent Void 阅读(263) | 评论 (0)编辑
     摘要: Enterprise Library 3.1–May 2007 contains the following general purpose application blocks  阅读全文
posted @ 2007-08-08 20:15 Silent Void 阅读(209) | 评论 (0)编辑
     摘要: 又添新枕头...  阅读全文
posted @ 2007-08-07 12:16 Silent Void 阅读(200) | 评论 (1)编辑
     摘要: HttpApplication 类的实例是在 ASP.NET 基础结构中创建的,而不是由用户直接创建的。HttpApplication 类的一个实例在其生存期内被用于处理多个请求,但它一次只能处理一个请求。这样,成员变量才可用于存储针对每个请求的数据。
应用程序按照以下顺序执行由 global.asax 文件中定义的模块或用户代码处理的事件:
BeginRequest
AuthenticateRequest
PostAuthenticateRequest
AuthorizeRequest
PostAuthorizeRequest
ResolveRequestCache
PostResolveRequestCache
在 PostResolveRequestCache 事件之后、PostMapRequestHandler 事件之前创建一个事件处理程序(对应于请求 URL 的页)。
PostMapRequestHandler
AcquireRequestState
PostAc  阅读全文
posted @ 2007-08-06 19:32 Silent Void 阅读(843) | 评论 (0)编辑
     摘要: JS+XMLDOM+XSL:实现中英文界面切换、排序、分页显示、增删改查XML文件数据源  阅读全文
posted @ 2007-07-26 00:41 Silent Void 阅读(674) | 评论 (9)编辑
     摘要: XSLT  阅读全文
posted @ 2007-07-25 23:49 Silent Void 阅读(308) | 评论 (2)编辑
     摘要: 空值、隐式类型转换、数据类型、操作符、Object & Array、特殊对象、自定义对象、document.write()/document.writeln();、MessageBox  阅读全文
posted @ 2007-07-24 09:05 Silent Void 阅读(230) | 评论 (3)编辑
     摘要: 常用的增删查改操作和Xpath介绍  阅读全文
posted @ 2007-07-24 08:59 Silent Void 阅读(318) | 评论 (2)编辑
     摘要: 1. 用EndInvoke等待异步调用;
2. 用WaitHandle等待异步调用;
3. 轮训查询等待异步调用;
4. 异步调用完成后,执行回调......  阅读全文
posted @ 2007-07-23 10:07 Silent Void 阅读(88) | 评论 (0)编辑
     摘要: 深入介绍virtual/new/override 这些关键字的意义
  阅读全文
posted @ 2007-07-22 21:52 Silent Void 阅读(632) | 评论 (8)编辑
     摘要: Date and Time Arithmetic in JScript  阅读全文
posted @ 2007-07-17 20:37 Silent Void 阅读(47) | 评论 (0)编辑
     摘要: All mouse events fire on an object with setCapture.  阅读全文
posted @ 2007-07-12 20:03 Silent Void 阅读(236) | 评论 (5)编辑
     摘要: :定义HTC,这个标签是其他定义的父元素。
: 定义HTC的属性,里面三个定义分别代表属性名、读取属性、设置属性时HTC所调用的方法。
:定义HTC的方法,NAME定义了方法名。
:定义了HTC的事件,NAME定义了事件名,ID是个可选属性,在HTC中唯一标识这个事件。
:定义了浏览器传给HTC事件的相应方法,其中EVENT是浏览器传入的事件,ONEVENT是处理事件的方法。  阅读全文
posted @ 2007-07-12 19:31 Silent Void 阅读(45) | 评论 (0)编辑
     摘要: Strategy Pattern,
Template Method Pattern,
Observer Pattern,
MVC Pattern,
Iterator Pattern,
Chain of Responsibility Pattern,
Command Pattern,
Memento Pattern,
State Pattern,
Interpreter Pattern,
Visitor Pattern,
Mediator Pattern
  阅读全文
posted @ 2007-06-22 09:47 Silent Void 阅读(34) | 评论 (0)编辑
     摘要: Adapter Pattern,
Composite Pattern,
Decorator Pattern,
Flyweight Pattern,
Facade Pattern,
Brige Pattern  阅读全文
posted @ 2007-06-22 09:40 Silent Void 阅读(31) | 评论 (0)编辑
     摘要: Simple Factory Pattern,
Factory Method Pattern,
Abstract Factory Pattern,
Singleton pattern,
Mutition Pattern,
Builder Pattern,
Prototype Pattern  阅读全文
posted @ 2007-06-22 09:26 Silent Void 阅读(33) | 评论 (0)编辑
     摘要: 1.开发人员在设计和实现系统时,关联资源和操作,并创造权限;
2.管理员可以为用户分配权限;
3.用户使用权限。  阅读全文
posted @ 2007-06-01 14:14 Silent Void 阅读(273) | 评论 (1)编辑
     摘要: 1. Create SchemaImporterExtension that will recognize the DataSetSchema:
2. Compile and GAC the SchemaImporterExtension;
3. Add it to the existent extensions in machine.config, ysing fully-qualified assembly name  阅读全文
posted @ 2007-05-23 11:44 Silent Void 阅读(124) | 评论 (0)编辑
     摘要: ……  阅读全文
posted @ 2007-05-17 15:33 Silent Void 阅读(72) | 评论 (2)编辑
     摘要: 生活就像一盒巧克力,你永远不知道你会得到什么。
  ——阿甘正传  阅读全文
posted @ 2007-05-17 15:21 Silent Void 阅读(40) | 评论 (0)编辑
     摘要: VS2005的语言设置可能会导致模板丢失和类设计器(Class Designer)不能创建类型  阅读全文
posted @ 2007-05-15 16:37 Silent Void 阅读(435) | 评论 (1)编辑
     摘要: SSL握手有三个目的:
1. 客户端与服务器需要就一组用于保护数据的算法达成一致;
2. 它们需要确立一组由那些算法所使用的加密密钥;
3. 握手还可以选择对客户端进行认证。  阅读全文
posted @ 2007-05-14 23:21 Silent Void 阅读(1138) | 评论 (1)编辑
     摘要: VS2005的类设计器(Class Designer)中,如果显示让类继承接口(closed arrow head line from the class to the interface),而不是实现接口(a "lollipop" shape)?  阅读全文
posted @ 2007-05-09 15:20 Silent Void 阅读(588) | 评论 (4)编辑