09 2012 档案
摘要:View Code <tbody class="replay_msg" <%=LeaderMailObj.处理人 == "" ? "style='display:none'":"style='display:block'" %> > <tr> <td class="th1b">回复</td> </tr> <tr> <td><table width="10
阅读全文
摘要:<div> <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand"> <ItemTemplate> <ul> <li> <%#Eval("id") %></li> <li> <asp:TextBox ID="TextBox3" runat="server"><
阅读全文
摘要:1、先添加webservice,引用webservice地址如:http://10.119.188.XXX:8080/_vti_bin/UserGroup.asmx2、直接用jquery调用该服务中的其中一个,下面以GetUserCollectionFromGroup为例子,判断某一组里有哪些成员,代码如下:调用webservice 1 <script type="text/javascript"> 2 function myrole() 3 { 4 var soapEnv = '<?xml version="1.0" enco
阅读全文
摘要:1 private static PagedDataSource pds = new PagedDataSource(); 2 protected void Page_Load(object sender, EventArgs e) 3 { 4 if (!Page.IsPostBack) 5 { 6 7 BindData(); 8 } 9 }10 private void BindDat...
阅读全文
摘要:1 protected void btnOnLine_Click(object sender, EventArgs e) 2 { 3 try 4 { 5 6 //更新 7 string loginname; 8 loginname = SPContext.Current.Web.CurrentUser.Name; 9 int query...
阅读全文
摘要:绑定 1 private static PagedDataSource pds = new PagedDataSource(); 2 3 protected void Page_Load(object sender, EventArgs e) 4 { 5 if (!IsPostBack) 6 { 7 BindData(); 8 } 9 }10 private void BindData()11 {1...
阅读全文
摘要:View Code 1 protected void btnsub_Click(object sender, EventArgs e) 2 { 3 try 4 { 5 SPSecurity.RunWithElevatedPrivileges(delegate() 6 //提高权限 7 { 8 SPWeb web = SPContext.Current.Web; 9 ...
阅读全文
摘要:使用SharePoint PowerShell 部署WSPUninstall-SPSolution Cbw_SinopecPortal_WebPart.wsp -AllWebApplicationsRemove-SPSolution Bossini.TWCPWF.Addin.wspAdd-SPSolution D:\TWCPWF\Bossini.TWCPWF.Addin.wspInstall-SPSolution -Identity Bossini.TWCPWF.Addin.wsp -GACDeployment -force -AllWebApplicationsInstall-SPSolut
阅读全文

浙公网安备 33010602011771号