快乐的Tina  
上一页 1 2 3 4 5 6 ··· 10 下一页

2011年6月21日

摘要: 比较两个查询的结果,返回非重复值。 EXCEPT 从左查询中返回右查询没有找到的所有非重复值。 INTERSECT 返回 INTERSECT 操作数左右两边的两个查询都返回的所有非重复值。 以下是将使用 EXCEPT 或 INTERSECT 的两个查询的结果集组合起来的基本规则: 所有查询中的列数和列的顺序必须相同。 数据类型必须兼容。 Transact-SQL 语法约定 语法 { <query_specification> | ( <query_expression> ) } { EXCEPT | INTERSECT } { <query_specificati 阅读全文
posted @ 2011-06-21 10:20 幸福佑儿 阅读(1118) 评论(0) 推荐(1) 编辑
 
摘要: 带any嵌套查询select emp.empno,emp.ename,emp.sal from scott.emp where sal>any(select sal from scott.emp where job='manager');等价于select sal from scott.emp where job='manager' 结果为 sal:2975 2850 2450 select emp.empno,emp.ename,emp.sal from scott.emp where sal>2975 or sal>2850 or sal& 阅读全文
posted @ 2011-06-21 09:34 幸福佑儿 阅读(1238) 评论(0) 推荐(0) 编辑

2011年6月2日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.DirectoryServices;using System.Collections;using System.Text;using System.Diagnostics;namespace FileInfo{ public class IIS { //从活动目录中获取IIS对象 static DirectoryEntry iisRoot = new DirectoryEntry("IIS://lo 阅读全文
posted @ 2011-06-02 17:24 幸福佑儿 阅读(378) 评论(1) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.DirectoryServices;using System.IO;using System.Security.AccessControl;namespace FileInfo{ public class Directory { /// <summary> /// 创建Windows帐号,并分配到guest组 /// </summary> /// <param name=&quo 阅读全文
posted @ 2011-06-02 17:14 幸福佑儿 阅读(294) 评论(0) 推荐(0) 编辑

2011年5月27日

摘要: DirectoryInfo类和Directory类之间的关系与FileInfo类和File类之间的关系十分类似。下面介绍一下DirectoryInfo类的常用属性。DirectoryInfo类的常用属性及说明如表所示。表 DirectoryInfo类的常用属性及说明属性说明Attributes设置当前 FileSystemInfo 的 FileAttributesCreationTime设置当前 FileSystemInfo 对象的创建时间Exists获取指示目录是否存在的值FullName获取目录或文件的完整目录Parent获取指定子目录的父目录Name获取此 DirectoryInfo 实 阅读全文
posted @ 2011-05-27 16:53 幸福佑儿 阅读(3131) 评论(0) 推荐(0) 编辑
 
摘要: 一、文件系統概述 计算机系统的重要作用之一是能快速处理大量信息,因此数据的组织和存取成为一个极为重要的内容。文件是信息的一种组织形式,而文件系统的的目标就是提高存储器的利用率,接受用户的委托实施对文件的操作。 文件系统是操作系统的一个重要组成部分。文件系统所要解决的问题包括:管理存储设置,决定文件的存放位置和方式,提供共享能力,保证文件安全性,提供友好的用户接口。通过文件系统,用户和应用程序能方便地进行数据存储,而不必关心底层存储设备的实现。 Windows支持多种文件系统,如FAT,FAT32,NTFS等。这些文件系统在操作系统内部有不同的实现方式,然而它们提供给用户的接口是一致的。如果应用 阅读全文
posted @ 2011-05-27 15:48 幸福佑儿 阅读(2012) 评论(0) 推荐(0) 编辑
 
摘要: System.DirectoryServices 命名空间用以从托管代码简便地访问 Active Directory。该命名空间包含两个组件类,即 DirectoryEntry 和 DirectorySearcher,它们使用 Active Directory 服务接口 (ADSI) 技术。ADSI 是 Microsoft 提供的一组接口,作为使用各种网络提供程序的灵活的工具。无论网络有多大,ADSI 都可以使管理员能够相对容易地定位和管理网络上的资源。System.DirectoryServices 命名空间中的类可以与任何 Active Directory 服务提供程序一起使用。当前的一些 阅读全文
posted @ 2011-05-27 10:58 幸福佑儿 阅读(7059) 评论(0) 推荐(0) 编辑

2011年3月30日

摘要: using System;using System.IO;using System.Xml.Serialization;using System.Xml;using System.Collections.Generic;using System.Text;namespace Discuz.Common{/// <summary>/// 序列化基类。/// </summary>public class SerializationHelper{ private SerializationHelper(){} private static Dictionary<int, 阅读全文
posted @ 2011-03-30 15:07 幸福佑儿 阅读(363) 评论(0) 推荐(0) 编辑

2011年3月29日

摘要: 转自:http://www.tracefact.net/Asp-Net/Creating-and-Consuming-Rss-Feeds-on-Your-Website.aspx主要参考:Creating Rss Feeds For Your Web SiteConsuming Rss Feeds On Your Web Site术语表tag:标签markup:标记node:结点item:条目entry:入口Rss Reed:Rss 源介绍Rss是将你Web站点的内容与其他人分享的标准方式。Rss代表着:Really Simple Syndication。它不过是一个标准化的XML标记,用于描 阅读全文
posted @ 2011-03-29 14:13 幸福佑儿 阅读(328) 评论(0) 推荐(0) 编辑

2011年3月25日

摘要: iis安全 检查清单原文:http://windows.stanford.edu/docs/IISsecchecklist.htm 中国网管联盟www_bitscn_com译文:http://www.iisutm.com下面是安全要点的简要清单,在检查这些安全要点之前需要确保IIS服务器在线。在违反下面安全要点的情况下,管理员可能需要了解安全文档中对已知的安全问题应该发生的安全危害的介绍。一般性假设 1.域控制器上没有IIS。 2.仅安装需要的服务( FTP,WWW,SMTP,NNTP)发送邮件不需要SMTP服务;可以使用CDOSYS.DLL(一个Windows提供的COM组件)或者使用第.. 阅读全文
posted @ 2011-03-25 14:33 幸福佑儿 阅读(2121) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页