百度空间 | 百度首页 
 
文章列表
 
您正在查看 "Dotnet" 分类下的文章

2007-08-08 11:44 A.M.
.NET Framework拦截机制的设计中,在客户端和对象之间,存在着多种消息接收器,这些消息接收器组成一个链表,客户端的调用对象的过程以及调用返回实行拦截,你可以定制自己的消息接收器,把它们插入了到链表中,来完成你对一个调用的前处理和后处理。那么调用拦截是如何构架或者说如何实现的呢?

在.NET中有两种调用,一种是跨应用域(App Domain),一种是跨上下文环境(Context),两种调用均通过中间的代理(proxy),代理被分为两个部分:透明代理和实际代理。透明代理暴露同对象一样的公共入口点,当客

类别:Dotnet | 评论(0) | 浏览()
 
2007-08-08 11:17 A.M.
Api函数是构筑Windws应用程序的基石,每一种Windows应用程序开发工具,它提供的底层函数都间接或直接地调用了Windows API函数,同时为了实现功能扩展,一般也都提供了调用WindowsAPI函数的接口, 也就是说具备调用动态连接库的能力。Visual C#和其它开发工具一样也能够调用动态链接库的API函数。.NET框架本身提供了这样一种服务,允许受管辖的代码调用动态链接库中实现的非受管辖函数,包括操作系统提供的Windows API函数。它能够定位和调用输出函数,根据需
类别:Dotnet | 评论(0) | 浏览()
 
2007-08-07 01:31 P.M.
Posted on 2005-07-06 11:24 追风逐云.NET 阅读(234) 评论(0)  编辑
类别:Dotnet | 评论(0) | 浏览()
 
2007-08-07 01:30 P.M.
Posted on 2005-07-06 09:37 追风逐云.NET 阅读(222) 评论(0)  编辑 收藏
类别:Dotnet | 评论(0) | 浏览()
 
2007-08-07 01:29 P.M.
Posted on 2005-07-06 09:33 追风逐云.NET 阅读(214) 评论(0)  编辑 收藏
类别:Dotnet | 评论(0) | 浏览()
 
2007-08-07 01:29 P.M.
Posted on 2005-07-06 09:31 追风逐云.NET 阅读(207) 评论(0)  编辑 收藏
类别:Dotnet | 评论(0) | 浏览()
 
2007-08-07 01:28 P.M.
Posted on 2005-07-06 09:36 追风逐云.NET 阅读(264) 评论(0)  编辑 收藏
类别:Dotnet | 评论(0) | 浏览()
 
2007-08-07 01:27 P.M.
Attribute的基本概念

Posted on 2005-07-06 11:24 追风逐云.NET 阅读(234) 评论(0)  编辑

类别:Dotnet | 评论(0) | 浏览()
 
2007-08-07 12:35 P.M.

ContextAttribute派生自Attribute,同时它还实现了IContextAttribute和IContextProperty接口。所有自定义的ContextAttribute必须从这个类派生。
构造器:
ContextAttribute:构造器带有一个参数,用来设置ContextAttribute的名称。

公共属性:
Name:只读属性。返回ContextAttribute的名称

公共方法:

类别:Dotnet | 评论(0) | 浏览()
 
2007-05-16 11:21 A.M.

All the parameters will be added to the data adapter's Parameters collection and bound to a DataTable column.

SqlParameter p1 = new SqlParameter("@sFirstName", SqlDbType.NVarChar, 10);
p1.SourceVersion = DataRowVersion.Current;
p1.SourceColumn = "firstname";
da.InsertCommand.Parameters.Add(p1);
SqlParameter p2 = new SqlParameter("@sLastName", SqlDbType.NVarChar, 30);
p2.SourceVersion = DataRowVersion.C
类别:Dotnet | 评论(0) | 浏览()
 
2007-05-16 11:21 A.M.

Inside ADO.NET Batch Update

Dino Esposito
Wintellect

November 8, 2001

The interaction between ADO.NET applications and the underlying data sources is based on a dual architecture with two-way channels. You access a data source to read and write rows using either individual and provider-specific commands or batch update procedures. In both cases, the data access results in a complete two-way binding and involve

类别:Dotnet | 评论(0) | 浏览()
 
2007-05-16 11:18 A.M.
   下面是使用ADO时程序员应该知道的规则。只要程序员了解并且适当地使用   
   在应用系统中,那么让ADO和ADOExpress拥有良好的执行效率并不是困难的事情:   
    
   1)    尽量找到真正的原生ADO和OLE    DB驱动程序。尽量不要使用ADO    For    ODBC驱动程序,   
         因为这种架构使用在一些数据库
类别:Dotnet | 评论(1) | 浏览()
 
2007-05-16 10:32 A.M.

I’ve gotten this same question several times in the last few weeks, so I thought it would be a good idea to put together some details on the topic. Update batching is a new ADO.NET 2.0 feature that, when enabled, introduces an optimization to the process of executing a DataAdapter.Update call (which basically takes the changes from a DataTable and pushes them into a database using th

类别:Dotnet | 评论(0) | 浏览()
 
2007-05-15 10:57 P.M.

original from :

http://www.cnblogs.com/Rustle/articles/11301.html

BeginInvoke 方法真的是新开一个线程进行异步调用吗?

参考以下代码:

public delegate 
类别:Dotnet | 评论(0) | 浏览()
 
2007-05-14 12:51 P.M.
实例程序说明
  本文的实例程序包括一个列表框、三个按钮。程序使用一个新的线程来运行一个后台处理,结果在列表框中显示。按钮button1启动一个计算平方的线程。按钮button2停止后台处理线程。按钮button3退出程序。程序运行情况如图1所示。
  
  使用线程
  首先创建运行在新线程上的后台任务。表1所示的代码执行一个相当长的运行处理----一个无限循环。
  
类别:Dotnet | 评论(0) | 浏览()
 
     
 
 
文章分类
 
 
J2se(28)
 
Dotnet(21)
 
Ajax(1)
 
 
Php(0)
 
 
Soa(12)
 
Bpel(1)
 
Sql(20)
 
Ejb(26)
 
J2ee(13)
 
J2me(0)
 
Xml(2)
 
 
Jvm(9)
 
 
 
 
 
 
 
Test(0)
 
 
Ant(1)
 
 
Uml(5)
 
 
 
 
     
 
文章存档
 
 
 
 
 
 
 
     
 
最新文章评论
   

好。。。
 

Thank you ! Could you mail me more ??
 

This code is broken.
 
 
     


©2009 Baidu