摘要: 环境:SharePoint 2010网站Windows Authentication做法:1) Create a copy of SignOut.aspx in the Layouts folder. Rename it as CustomSignOut.aspx2) Open the custom page in notepad\designer. In the function _spBodyOnLoad() replace windows.close() with windows.location("YourHomePageRelativeUrl");3) Make 阅读全文
posted @ 2012-05-08 21:26 gzh4455 阅读(374) 评论(0) 推荐(0)
摘要: 下面是Query的一个实例 ,用通过查询Title中包含要查询的值,下面是页面的代码View Code <%@ Assembly Name="ClientOMUIActions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4efe8d1641f2f2df" %><%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" 阅读全文
posted @ 2012-05-08 18:44 gzh4455 阅读(450) 评论(0) 推荐(0)
摘要: TextBox 是允许多行的 <asp:TextBox ID="txtEmployeeID" TextMode="MultiLine" Rows="8" runat="server"></asp:TextBox>由于查询的时候,需要把TextBox多行的给分屯出来进行查询,分离方法如下,根据\r来分离 string[] strArr1 = txtEmployeeID.Text.Split('\r'); if (strArr1 != null) { //Response.Wri 阅读全文
posted @ 2012-05-08 15:30 gzh4455 阅读(484) 评论(0) 推荐(0)