DotNET
文章平均质量分 79
xeonol
这个作者很懒,什么都没留下…
展开
-
Community Server专题五:IHttpHandlerFactory (ZZ)
如果你了解Factory设计模式,这篇文章可以不用看,只要会配置IHttpHandlerFactory就可以,不了解也没有关系,通过下面的文章你可以学会如何使用IHttpHandlerFactory,同时还会明白Factory设计模式的广义定义在前一篇专题中讲解了HttpHandler在CS中的运用以及一些相关的话题。其实实现HttpHandler功能还有另外一个选择就是Handler F转载 2006-03-19 13:53:00 · 785 阅读 · 0 评论 -
Transparent Database Access with ADO.NET
by Nick Harrison12/16/2002The DreamThe dream of transparent data access is to not have to care about where the data is coming from. You have more important things to worry about, like providing a转载 2006-04-12 22:17:00 · 1209 阅读 · 0 评论 -
class for Dragging Form in .NET
internal class FormDrag { Form _form=null ; int _y = 0, _x = 0; private bool _mousedown = false; public FormDrag(Form form) { if (form == null) throw new Ar转载 2006-04-12 10:07:00 · 917 阅读 · 0 评论 -
Choosing What To Lock On
Choosing What To Lock OnI said earlier that Id explain why I created a new variable to lock on. Many books and articles recommend locking on this for instance methods and typeof(MyTypeName) (the Ty转载 2006-04-12 09:51:00 · 827 阅读 · 0 评论 -
Detecting Designmode in ASP.Net
Detecting Designmode in ASP.NetUnlike WinForms, ASP.Net does not support a DesignMode property on the Page class, so theres no built in way to detect this. For building custom ASP.Net Server contro转载 2006-04-21 16:45:00 · 1443 阅读 · 0 评论 -
[转贴收藏]XSLT MUENCHIAN分组法
原文来自http://www.yeeyan.com/articles/view/goto100/20155 简介在XSLT1.0中如何高效的对扁平结构的XML进行分组。在XSLT中分组是一个常见问题:如何将一组元素排列成组?一种最常见的情况就是将数据库中的数据通过XML进行输出。通常数据库返回的XML结构是与数据库中的记录一样的。例如一个地址簿,它可能会给你如下XML:转载 2009-01-16 13:55:00 · 932 阅读 · 0 评论 -
自行控制GridView的Paging和Sorting
private string ConvertSortDirectionToSql(SortDirection sortDirection){ string newSortDirection = String.Empty; switch (sortDirection) { case SortDirection.Ascending:转载 2010-04-20 21:51:00 · 1314 阅读 · 0 评论 -
使用ASP.NET的权限系统
1. 生成aspnet的权限数据表和sp,使用.net 2.0的命令如下:C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727>aspnet_regsql -W使用-W参数调出连接数据库向导,根据向导生成数据库数据。 2. 在web.config更改验证方式并添加providers " />原创 2010-04-20 23:28:00 · 3103 阅读 · 2 评论 -
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps
<br /> <br />原文来自http://odetocode.com/code/450.aspx, 挺不错的文章,让我了解了Master Pages内部实现机制和一些应用技巧。<br /><br />Master pages are a great addition to the ASP.NET 2.0 feature set. Master pages help us build consistent and maintainable user interfaces. Master pages转载 2010-07-08 13:29:00 · 1852 阅读 · 0 评论 -
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps
<br /> <br />原文来自http://odetocode.com/code/450.aspx, 挺不错的文章,让我了解了Master Pages内部实现机制和一些应用技巧。<br /><br />Master pages are a great addition to the ASP.NET 2.0 feature set. Master pages help us build consistent and maintainable user interfaces. Master pages转载 2010-07-08 13:28:00 · 2074 阅读 · 0 评论 -
WebRequest 创建 WebResponse 实例....取得别站网页内容。 (ZZ)
MSDN:http://msdn.microsoft.com/library/chs/default.asp?url=/library/CHS/cpref/html/frlrfsystemnetwebresponseclasstopic.asp Private Sub Page_Load()Sub Page_Load(ByVal sender As System.Object, ByVa转载 2006-03-31 08:35:00 · 1108 阅读 · 0 评论 -
用.Net开发Windows服务初探 (ZZ)
1 什么是Windows服务 Windows服务应用程序是一种需要长期运行的应用程序,它对于服务器环境特别适合。它没有用户界面,并且也不会产生任何可视输出。任何用户消息都会被写进Windows事件日志。计算机启动时,服务会自动开始运行。它们不要用户一定登录才运行,它们能在包括这个系统内的任何用户环境下运行。通过服务控制管理器,Windows服务是可控的,可以终止、暂停及当需要时启动。转载 2006-03-29 17:18:00 · 1120 阅读 · 0 评论 -
Windows 2000 Server 下 Indexing Service 编程实例
Response.Expires = 0 Response.Buffer = false%>Indexing Service body, p, div, th, td, br, a, input, textarea, select { font-family: "Tahoma", "宋体";font-size: "12px"; } a:link转载 2006-03-29 14:21:00 · 997 阅读 · 0 评论 -
XmlHttp技术资料 (ZZ)
XMLHTTP应用参考一、使用步骤:1、创建XMLHTTP对象 //需MSXML4.0支持2、打开与服务端的连接,同时定义指令发送方式,服务网页(URL)和请求权限等。客户端通过Open命令打开与服务端的服务网页的连接。与普通HTTP指令传送一样,可以用"GET"方法或"POST"方法指向服务端的服务网页。 3、发送指令。 4、等待并接收服务端返回的处理结果。 5、释放XMLHTTP对象 二、X转载 2006-03-19 13:55:00 · 722 阅读 · 0 评论 -
ASP.NET File Uploading
ASP.NET File Uploadingby Budi Kurniawan04/01/2002File upload and download are much simpler tasks in ASP.NET than in classic ASP, thanks to the extensive .NET Framework class library. File upload i转载 2006-03-22 18:22:00 · 1213 阅读 · 0 评论 -
通过系统配置来提高ASP.NET应用程序的稳定性(ZZ)
大家都知道,要实现一个24*7全天候运行的应用程序并不是一件容易的事。我的一个项目就曾经在暴力负荷下坚持了20多个小时后还是壮烈挂掉了。幸运的是,ASP.NET和IIS为我们提供了一些简便的设施,使我们能够轻松构建超级稳定的.Net应用程序。不过稍嫌不爽的是,Windows 2000(IIS6.0 以下版本) 和 Windows 2003(IIS6.0)系统下的配置方法不尽相同。转载 2006-03-19 13:37:00 · 736 阅读 · 0 评论 -
microsoft office web 组件(owc11)的编程(.net) (ZZ)
owc控件是microsoft office 图表控件(owc10为ofiiceXP的组件、owc11为office2003的组件,组件的路径为C:/Program Files/Common Files/Microsoft Shared/Web Components/11/owc11,帮助文件的路径为C:/Program Files/Common Files/Microsoft Shared/We转载 2006-03-19 14:15:00 · 1267 阅读 · 0 评论 -
Reflection Part 1: Discovery and Execution
Reflection Part 1: Discovery and Execution What Is Reflection? Reflection is a means of discovering information abou转载 2006-03-27 13:34:00 · 896 阅读 · 0 评论 -
ASP.NET Framework深度历险(2)
刚刚吃完晚饭,正好在键盘上面锻炼一下手指。 接着上回继续写这个“日记”: Chapter Two -- HttpModule是如何工作的? 我们上回说到,一个来自于客户端的Http Request被截获后经过层层转交(怎么都在踢皮球?呵呵)到达了HttpModule这个“请求监听器”。 HttpModule就类似于安插在ASPNET_WP.EXE进程中的一个窃听器,稍微转载 2006-03-28 14:37:00 · 1036 阅读 · 0 评论 -
ASP.NET Framework深度历险(1)
记得前一段时间有本不错的书叫Delphi深度历险,写得不错,我也就暂且借用了,:) 在这里我不打算简单介绍ASP.NET的入门知识了,ASP.NET除了名字和古老的ASP有些相同外,已经是完完全全的改变了,虽然你仍能在ASP.NET中发现你熟悉的Session,Application等等,但是不要尝试将他们同远古的ASP时代的Session等等画上等号。 我们来慢慢的深入到ASP.NET转载 2006-03-28 14:35:00 · 1158 阅读 · 0 评论 -
ASP.NET Framework深度历险(3)
Author:uestc95 ArticleType:原创 E-mail:uestc95@263.net .NET Framework Version:1.0.3705正式版 VS.NET(C#) Version:7.0.9466正式版 这几天胃口还算好,虽然算不上“吃嘛嘛香”,但是也算是不错了,但愿能增上几斤才好。 怎么样,我们在Chapter Two最后提出转载 2006-03-28 14:38:00 · 1024 阅读 · 0 评论 -
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.ProblemWhen usign System.Data.OracleClient with Oracle9i client, i got the following message while connecting to the转载 2006-03-29 10:17:00 · 1862 阅读 · 0 评论