摘要: SPContext.Current.Web.CurrentUser.LoginName(带前缀)SPContext.Current.Web.CurrentUser.Name(不带前缀) 阅读全文
posted @ 2014-02-12 09:49 914556495 阅读(213) 评论(1) 推荐(0)
摘要: SPUser spuser = Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(Context).CurrentUser; string t_loginName = spuser.LoginName.ToString();SPUserCollection users = web.AllUsers; //當前網站所有UsersSPUserCollection users = web.Users; //當前網站所有UsersSPUserCollection users = web.Roles["Admi... 阅读全文
posted @ 2014-02-12 08:58 914556495 阅读(180) 评论(0) 推荐(0)
摘要: "当前时间是:"+DateTime.Now.ToString("yyyy-MM-ddHH:mm:ss.fff"));当前时间:stringdsf=DateTime.Now.ToString("HH:mm:ss.fff");当前年月日stringdsf=DateTime.Now.ToString("yyyy-MM-dd"); 阅读全文
posted @ 2014-02-12 08:42 914556495 阅读(169) 评论(0) 推荐(0)
摘要: DropDownList.SelectedValue 选定值ddlState.SelectedItem.Text 当前文本 阅读全文
posted @ 2014-02-12 08:34 914556495 阅读(135) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-02-12 08:26 914556495 阅读(201) 评论(0) 推荐(0)
摘要: jq隐藏后出现问题变成灰色正常 阅读全文
posted @ 2014-02-12 08:24 914556495 阅读(116) 评论(0) 推荐(0)