摘要:
解释:ASP.NET 2.0 中的 Windows 身份验证 发布日期: 2006-6-26 | 更新日期: 2006-6-26 适用于:ASP.NET 2.0 版 Windows Server 2003 Internet 信息服务 (IIS) 6.0 摘要:本教程阐释在 ASP.NET 2.0 版中,IIS 集成 Windows 身份验证以及 ASP.NET Windows 身份验证的工作... 阅读全文
摘要:
1. 基于AD的用户验证 public static bool IsUserValid (string UserName, string Password) { using (DirectoryEntry deUser = new DirectoryEntry(ADPath, UserName, Password, AuthenticationTypes.Secure)) ... 阅读全文
摘要:
下载解压密码:1122 阅读全文
摘要:
1。定义锚点到页面的相应位置:2.脚本代码添加到页面尾部: 阅读全文
摘要:
1。定义错误信息的类别:public enum MessageCategory{Info,Error,System}info:提示信息,Error:一般错误信息,System:系统级或异常信息2。 定义错误显示方法:public void MessageShow(string Msg,MessageCategory msgCat) { if (Msg =... 阅读全文
摘要:
1.web.config片断: 2。代码片断:public string ReportServerURL { get { return System.Web.Configuration.WebConfigurationManager.AppSettings["ReportServerURL"]; } } public stri... 阅读全文
摘要:
下载 阅读全文
摘要:
1.访问另一frame中的form元素parent.framesName.decument.formNames.elementName.2。设置frame中的iframe的链接地址parent.framename.document.all["Iframename"].src = frame直接用name;iframe需要all["name"]来访问。这样是不行的:parent.document.a... 阅读全文
摘要:
http://www.pc30.com/wc/java1/ 阅读全文
摘要:
1// 检查 E-mail 是否已被注册 2 function CheckExists() 3 { 4 var e = document.getElementById("mailaddress").value; 5 if(e != "") { 6 if(!/(\S)+[@]{1}(\S)+[.]{1}(\w)+/.test(e)) 7... 阅读全文
摘要:
Response.Write(""); Response.Write(""); http://www.cnblogs.com/maxianghui/archive/2006/09/18/507421.html 阅读全文
摘要:
[document对象] 该对象是window和frames对象的一个属性,是显示于窗口或框架内的一个文档。 属性 alinkColor 活动链接的颜色(ALINK) anchor 一个HTMI锚点,使用标记创建(该属性本身也是一个对象) anchors array 列出文档锚点对象的数组()(该属性本身也是一个对象) bgColor 文档的背景颜色(BGCOLOR) c... 阅读全文
摘要:
1。用到的引用System.Net.CookieContainer2。登录方法中,客户端提供一个CookieContainer对象给webservice代理private static CookieContainer cooks = new CookieContainer();3。从web服务端拿Cookie并赋给它//实例化客户端WebService server = new WebServic... 阅读全文
摘要:
什么是UNC路径?UNC路径就是类似\\softer这样的形式的网络路径。它符合 \\servername\sharename 格式,其中 servername 是服务器名,sharename 是共享资源的名称。目录或文件的 UNC 名称可以包括共享名称下的目录路径,格式为:\\servername\sharename\directory\filename。 例如softer计算机的名为it168... 阅读全文