跟小D每日学口语
摘要: ASP.net后台获取当前页面的文件名 System.IO.Path.GetFileName(Request.Path).ToString();获取当前页面文件名,参数,域名等方法假设当前页完整地址是:http://www.test.com/aaa/bbb.aspx?id=5&name=kelli"http://"是协议名"www.test.com"是域名"aaa"是虚拟目录名"bbb.aspx"是页面名(文件名)"id=5&name=kelli"是参数【1】获取 完整url ( 阅读全文
posted @ 2011-05-09 10:49 Danny Chen 阅读(744) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.DirectoryServices;namespace VQP.BLL{ public class LdapAuthentication { private string _path; private string _filterAttribute = string.Empty; public LdapAuthentication() { // // TODO: Add constructor logic here // } /// < 阅读全文
posted @ 2011-05-09 09:42 Danny Chen 阅读(341) 评论(0) 推荐(0) 编辑