代码改变世界

随笔档案-2005年12月

[导入]automation服务器不能创建对象

2005-12-30 02:01 by BAsil, 181 阅读, 收藏, 编辑
摘要: javascript脚本中报这个错误是因为IE的安全设置不允许运行未标记为安全的activeX控件 更改IE的安全设置,把相应的选项打开就OK了 的确是这样的,但问题是不可能去要求每一个打开网站的人都去调节IE安全设置啊,应该怎么办呢? 文章来源:http://blog.donews.com/basilwang/archive/2005/12/29/676195.aspx 阅读全文

[导入]调试脚本(转)

2005-12-30 01:21 by BAsil, 154 阅读, 收藏, 编辑
摘要: (1) 打开IE --> Internet Options -- > Advanced ; 去掉”Disable Script Debugging” 上的选项 (2) 打开需要调试的页面 (3) 启动VS.Net IDE, 选择 TOOLS-De文章来源:http://blog.donews.com/basilwang/archive/2005/12/29/67615... 阅读全文

[导入]调试脚本(转)

2005-12-30 01:21 by BAsil, 115 阅读, 收藏, 编辑
摘要: (1) 打开IE --> Internet Options -- > Advanced ; 去掉”Disable Script Debugging” 上的选项 (2) 打开需要调试的页面 (3) 启动VS.Net IDE, 选择 TOOLS-De文章来源:http://blog.donews.com/basilwang/archive/2005/12/29/67615... 阅读全文

[导入]关于petshop中simplepager(继承自Repeater)覆写DataSource的问题

2005-12-26 23:32 by BAsil, 183 阅读, 收藏, 编辑
摘要: public class SimplePager : Repeater {private IList dataSource; override public object DataSource { 覆写DataSource set { //This try catch block is to avoid issues with the VS.NET designer /... 阅读全文

[导入]关于petshop中simplepager(继承自Repeater)覆写DataSource的问题

2005-12-26 23:32 by BAsil, 114 阅读, 收藏, 编辑
摘要: public class SimplePager : Repeater {private IList dataSource; override public object DataSource { 覆写DataSource set { //This try catch block is to avoid issues with the VS.NET designer /... 阅读全文

[导入]AppDomain和动态加载(原创)

2005-12-16 02:26 by BAsil, 95 阅读, 收藏, 编辑
摘要: http://www.softhouse.com.cn/html/200408/2004082409352200000171.html http://blogs.msdn.com/junfeng/archive/2004/02/09/69919.aspx http://www2.cnblogs.com/flier/archive/2004/07/08/22382.html http://dev.c... 阅读全文

[导入]AppDomain和动态加载(原创)

2005-12-16 02:26 by BAsil, 129 阅读, 收藏, 编辑
摘要: http://www.softhouse.com.cn/html/200408/2004082409352200000171.html http://blogs.msdn.com/junfeng/archive/2004/02/09/69919.aspx http://www2.cnblogs.com/flier/archive/2004/07/08/22382.html http://dev.c... 阅读全文

[导入]模仿Petshop的简单工厂类代码

2005-12-15 02:21 by BAsil, 119 阅读, 收藏, 编辑
摘要: Basil.FactoryDesign.IDAL.dllIorder.csusing System;namespace Basil.FactoryDesign.IDAL{ public interface IOrder { void add(); }}csc /target:library /out:Basil.FactoryDesign.IDAL.dll Iord... 阅读全文

[导入]模仿Petshop的简单工厂类代码

2005-12-15 02:21 by BAsil, 118 阅读, 收藏, 编辑
摘要: Basil.FactoryDesign.IDAL.dllIorder.csusing System;namespace Basil.FactoryDesign.IDAL{ public interface IOrder { void add(); }}csc /target:library /out:Basil.FactoryDesign.IDAL.dll Iord... 阅读全文

[导入]模仿Petshop的简单工厂类代码

2005-12-15 02:21 by BAsil, 186 阅读, 收藏, 编辑
摘要: Basil.FactoryDesign.IDAL.dllIorder.csusing System;namespace Basil.FactoryDesign.IDAL{ public interface IOrder { void add(); }}csc /target:library /out:Basil.FactoryDesign.IDAL.dll Iord... 阅读全文

[导入]c#中的反射(转)

2005-12-14 23:35 by BAsil, 187 阅读, 收藏, 编辑
摘要: 目录 反射的概述 反射appDomain 的程序集 反射单个程序集 利用反射获取类型信息 设置反射类型的成员 通过反射创建类型的实例 反射类型的接口 反射的性能 反射的概述 反射的定义:审查元数据并收集关于它的类型信息的能力。元数据(编译以后的最基本数据单元)就是一大堆的表,当编译程序集或者模块时,... 阅读全文

[导入]c#中的反射(转)

2005-12-14 23:35 by BAsil, 182 阅读, 收藏, 编辑
摘要: 目录 反射的概述 反射appDomain 的程序集 反射单个程序集 利用反射获取类型信息 设置反射类型的成员 通过反射创建类型的实例 反射类型的接口 反射的性能 反射的概述 反射的定义:审查元数据并收集关于它的类型信息的能力。元数据(编译以后的最基本数据单元)就是一大堆的表,当编译程序集或者模块时,... 阅读全文

[导入]什么是CLR Loader (转junfeng zhang)

2005-12-14 23:18 by BAsil, 2916 阅读, 收藏, 编辑
摘要: CLR Loader是CLR的一部分。CLR文章来源:http://blog.donews.com/basilwang/archive/2005/12/14/657816.aspx 阅读全文

[导入]什么是CLR Loader (转junfeng zhang)

2005-12-14 23:18 by BAsil, 5474 阅读, 收藏, 编辑
摘要: CLR Loader是CLR的一部分。CLR文章来源:http://blog.donews.com/basilwang/archive/2005/12/14/657816.aspx 阅读全文

[导入]Test-Driven Development in .NET

2005-12-14 07:27 by BAsil, 109 阅读, 收藏, 编辑
摘要: http://www.codeproject.com/dotnet/tdd_in_dotnet.asp文章来源:http://blog.donews.com/basilwang/archive/2005/12/13/657094.aspx 阅读全文

[导入]Test-Driven Development in .NET

2005-12-14 07:27 by BAsil, 114 阅读, 收藏, 编辑
摘要: http://www.codeproject.com/dotnet/tdd_in_dotnet.asp文章来源:http://blog.donews.com/basilwang/archive/2005/12/13/657094.aspx 阅读全文

[导入]http://weblogs.asp.net/rosherove/articles/dbunittesting.aspx

2005-12-13 02:54 by BAsil, 107 阅读, 收藏, 编辑
摘要: 本篇文章使用aigaogao Blog软件发布, “我的Blog要备份”文章来源:http://blog.donews.com/basilwang/archive/2005/12/12/655614.aspx 阅读全文

[导入]http://weblogs.asp.net/rosherove/articles/dbunittesting.aspx

2005-12-13 02:54 by BAsil, 186 阅读, 收藏, 编辑
摘要: 本篇文章使用aigaogao Blog软件发布, “我的Blog要备份”文章来源:http://blog.donews.com/basilwang/archive/2005/12/12/655614.aspx 阅读全文

[导入]NUnit 源代码探悉(原创)

2005-12-13 00:09 by BAsil, 233 阅读, 收藏, 编辑
摘要: 生成一个test类,此类包含包含attribute的一个tree node, 通过parent连接。 /// Private method to run a set of tests. This routine is the workhorse /// that is called anytime tests are run.通过RemoteTestRunner中的private TestRe... 阅读全文

[导入]NUnit 源代码探悉(原创)

2005-12-13 00:09 by BAsil, 194 阅读, 收藏, 编辑
摘要: 生成一个test类,此类包含包含attribute的一个tree node, 通过parent连接。 /// Private method to run a set of tests. This routine is the workhorse /// that is called anytime tests are run.通过RemoteTestRunner中的private TestRe... 阅读全文

[导入]NUnit的Test类中奇怪用法

2005-12-11 08:40 by BAsil, 182 阅读, 收藏, 编辑
摘要: using System;namespace Basil.AbstractInterface{ /// /// Class1 的摘要说明。 /// class Class1 { /// /// 应用程序的主入口点。 /// [STAThread] static void Main(string[] args) { // // TODO: 在此处添加代码以启动应用程序 ... 阅读全文

[导入]NUnit的Test类中奇怪用法

2005-12-11 08:40 by BAsil, 131 阅读, 收藏, 编辑
摘要: using System;namespace Basil.AbstractInterface{ /// /// Class1 的摘要说明。 /// class Class1 { /// /// 应用程序的主入口点。 /// [STAThread] static void Main(string[] args) { // // TODO: 在此处添加代码以启动应用程序 ... 阅读全文

[导入]A Taste of AOP from Solving Problems with OOP and Design Patterns (Part I)

2005-12-09 08:43 by BAsil, 112 阅读, 收藏, 编辑
摘要: http://blog.joycode.com/jgtm2000/articles/12103.aspx文章来源:http://blog.donews.com/basilwang/archive/2005/12/09/651742.aspx 阅读全文

[导入]A Taste of AOP from Solving Problems with OOP and Design Patterns (Part I)

2005-12-09 08:43 by BAsil, 84 阅读, 收藏, 编辑
摘要: http://blog.joycode.com/jgtm2000/articles/12103.aspx文章来源:http://blog.donews.com/basilwang/archive/2005/12/09/651742.aspx 阅读全文

[导入]A Taste of AOP from Solving Problems with OOP and Design Patterns (Part I)

2005-12-09 08:43 by BAsil, 92 阅读, 收藏, 编辑
摘要: http://blog.joycode.com/jgtm2000/articles/12103.aspx文章来源:http://blog.donews.com/basilwang/archive/2005/12/09/651742.aspx 阅读全文

[导入]设计模式adapter

2005-12-09 08:36 by BAsil, 243 阅读, 收藏, 编辑
摘要: using System; namespace Basil.Adapter{ /// /// Class1 的摘要说明。 /// class Class1 { /// /// 应用程序的主入口点。 /// [STAThread] static void Main(string[] args) { // // TODO: 在此处添加代码以启动应用程序 // ada... 阅读全文

[导入]设计模式decorator

2005-12-09 08:35 by BAsil, 87 阅读, 收藏, 编辑
摘要: using System;using System.Collections;namespace Basil.Decorator{ /// /// Class1 的摘要说明。 /// class Class1 { /// /// 应用程序的主入口点。 /// [STAThread] static void Main(string[] args) { // // TODO:... 阅读全文

[导入]ASP.NET Web Page应用深入探讨 (转)

2005-12-07 22:14 by BAsil, 106 阅读, 收藏, 编辑
摘要: 一、服务器脚本基础介绍 首先,我们先复习一下Web服务器页面的基本执行方式: 1、客户端通过在浏览器的地址栏敲入地址来发送请求到服务器端 2、服务器接收到请求之后,发给相应的服务器端页面(也就是脚本)来执行,脚本产生客户端的响应,发送回客户端 3、客户端浏览器接收到服务器传回的响应,对Html进行解析,将图形化的网页呈现在用户面前 对于服务器和客户端的交互,通常通过下面几种主要方... 阅读全文

[导入]SqlHelper的几个细节(原创)

2005-12-06 19:36 by BAsil, 183 阅读, 收藏, 编辑
摘要: 最近研究了一下Microsoft的SqlHelper,设计的非常严谨,下面列一下几个细节的问题。1. 判断是否由SqlHelper内部方法打开connection,如果是内部打开的话,需要在执行完SqlCommand的时候将其关闭。 办法是在PrepareCommand中加入out bool mustcloseconnection,而在调用PrepareCommand方法中执行完SqlComm... 阅读全文
点击右上角即可分享
微信分享提示