04 2007 档案

摘要:public class NSection : ConfigurationSection { public NSection() { } [ConfigurationProperty("id")] public int ID { get { return (int)this["... 阅读全文
posted @ 2007-04-29 15:19 李占卫 阅读(463) 评论(0) 推荐(0) 编辑
摘要:object 返回包含的对象。 offscreenBuffering 设置或获取对象在对用户可见之前是否要先在屏幕外绘制。 offsetHeight 获取对象相对于版面或由父坐标 offsetParent 属性指定的父坐标的高度。 offsetLeft 获取对象相对于版面或由 offsetParent 属性指定的父坐标的计算左侧位置。 offsetParent 获取定义对象 offsetT... 阅读全文
posted @ 2007-04-28 13:55 李占卫 阅读(333) 评论(0) 推荐(0) 编辑
摘要:什么是 Cookie?Cookie 是与 Web 站点而不是与具体页面关联的,所以无论用户请求浏览站点中的哪个页面,浏览器和服务器都将交换 www.contoso.com 的 Cookie 信息。用户访问其他站点时,每个站点都可能会向用户浏览器发送一个 Cookie,而浏览器会将所有这些 Cookie 分别保存。Cookie 的限制在开始讨论 Cookie 的技术细节之前,我想先介绍一下 Cook... 阅读全文
posted @ 2007-04-27 18:02 李占卫 阅读(284) 评论(0) 推荐(0) 编辑
摘要:CREATE PROCEDURE sp_Paging@tblName varchar(255) , -- 表名@strGetFields varchar(1000) = '*', -- 需要返回的列 @fldName varchar(255)='', -- 排序的字段名@pageSize int = 10, -- 页尺寸@pageIndex int = 1, -- 页码@recordCount ... 阅读全文
posted @ 2007-04-12 17:42 李占卫 阅读(247) 评论(0) 推荐(0) 编辑
摘要:ASP.NET 2.0 allows you to validate users via Active Directory, database, or even a custom algorithm. ASP.NET 2.0 supports a provider-based model for a number of application services including me... 阅读全文
posted @ 2007-04-11 10:00 李占卫 阅读(1036) 评论(0) 推荐(0) 编辑
摘要:Common Patterns in System.DirectoryServicesSearching the Directory: Create a DirectoryEntry that represents your SearchRoot. Your searches will be rooted to this location and will have the same ... 阅读全文
posted @ 2007-04-11 10:00 李占卫 阅读(455) 评论(0) 推荐(0) 编辑
摘要:创建示例1. 打开 Microsoft Visual Studio .NET,然后新建一个 Visual C# Console 应用程序项目。 2. 在“解决方案资源管理器”中,右键单击引用,然后单击添加引用。 3. 添加一个对 System.DirectoryServices.dll 程序集的引用。 4. 将 Class1.cs 中的代码替换为下面的代码: using System;usi... 阅读全文
posted @ 2007-04-11 09:59 李占卫 阅读(601) 评论(0) 推荐(0) 编辑
摘要:The System.DirectoryServices namespace provides easy access to Active Directory from managed code. The namespace contains two component classes, DirectoryEntry and DirectorySearcher, which use the Act... 阅读全文
posted @ 2007-04-11 09:57 李占卫 阅读(487) 评论(0) 推荐(0) 编辑
摘要:.NET Framework Class Library: System.DirectoryServices Namespace http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdirectoryservices.asp How to poll for changes to the Active Directory by ... 阅读全文
posted @ 2007-04-11 09:57 李占卫 阅读(389) 评论(0) 推荐(0) 编辑
摘要:System.DirectoryServices.Protocols.dll是.net2.0新增加的一个针对目录服务访问协议处理的组件,其下只有一个System.DirectoryServices.Protocols命名空间。在该命名空间下,主要有LDAP、DSML两种国际标准协议的一系列实现类。通过这些类,完全可以很方便地实现对目录的操作管理,这... 阅读全文
posted @ 2007-04-11 09:53 李占卫 阅读(544) 评论(0) 推荐(0) 编辑
摘要:为什么要有活动目录,什么是活动目录,它有什么用:活动目录主要用在分布式的环境中。在分布式环境中,要求有各种信息可以被各种应用很方便地访问读取。活动目录正式为分布式环境中的信息提供一种访问途径。它提供了一个公共的区域来保存分布式环境中的各种信息,并且对这些信息进行定位。从开发人员角度看活动目录,可以理解活动目录是一种存放了应用程序所需要的特定资源信息的“数据库”。活动目录还对这些资源信息... 阅读全文
posted @ 2007-04-11 09:43 李占卫 阅读(312) 评论(0) 推荐(0) 编辑
摘要:方法二: 阅读全文
posted @ 2007-04-06 09:12 李占卫 阅读(295) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示