摘要: 1 string a = Request.QueryString[ "eb1 "].ToString(); 2 string b = Request.QueryString[ "eb2 "].ToString(); 阅读全文
posted @ 2012-02-09 15:23 muddy-bear 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 第一种方法:以下是代码片段:System.Web.HttpContext.Current.User.Identity.Name.ToString(); 这种方法不用获取当前的Site和Web信息,是全局使用的帐号信息。此方法获取的帐号信息是带域的。第二种方法:以下是代码片段: string username = ""; SPSite site = new SPSite("http://kf102"); SPWeb web = site.OpenWeb(); username = web.CurrentUser.LoginName.ToString(); 阅读全文
posted @ 2012-02-06 16:18 muddy-bear 阅读(424) 评论(0) 推荐(0) 编辑
摘要: <a style= 'color:#0072bc; text-decoration : none'/>text-decoration参数:none : 无装饰blink : 闪烁underline : 下划线line-through : 贯穿线overline : 上划线 阅读全文
posted @ 2012-02-01 14:56 muddy-bear 阅读(10913) 评论(0) 推荐(0) 编辑