• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
繁星
不要浪费时间
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 ··· 11 下一页
2013年10月18日
sharepoint 长时间操作处理。
摘要: try { using (SPLongOperation operation = new SPLongOperation(this.Page)) { operation.LeadingHTML = "Please wait while the operation runs"; operation.TrailingHTML = ""; operation.Begin(); ... 阅读全文
posted @ 2013-10-18 09:26 ※繁星※ 阅读(166) 评论(0) 推荐(0)
2013年9月16日
生成 linq to sharepoint 对象模型&sharepoint 母板页
摘要: 生成 linq to sharepoint 对象模型cd $(ProjectDir)set path=%path%;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BINspmetal.exe /web:http://sh-fm-dyl:8000 /namespace:webparttools.VsTools /code:SPLinq.cssharepoint 母板页位符的Name 描述PlaceHolderAdditionalPageHead 需要写在页面标签里的附加内容,如引用的脚本或样式文件P 阅读全文
posted @ 2013-09-16 14:11 ※繁星※ 阅读(153) 评论(0) 推荐(0)
2013年9月9日
强行部署wsp
摘要: 当网站功能已存在Feature时,需要强行部署wsppowershellstsadm-odeploysolution-namexxx.wsp-urlhttp://www -awf-immediate-allowGacDeployment-force 阅读全文
posted @ 2013-09-09 12:38 ※繁星※ 阅读(121) 评论(0) 推荐(0)
2013年8月30日
获取当前页的列表中的栏
摘要: #region 获取当前页的列表中的栏 public List GetPageList(string listname) { SPList spList = SPContext.Current.Web.Lists[listname]; Id = spList.ID; ListName = listname; List typeList = new List(); SPSecurity.RunWithElevatedPrivileges(delegate ... 阅读全文
posted @ 2013-08-30 11:46 ※繁星※ 阅读(153) 评论(0) 推荐(0)
2013年5月9日
sharepoint 下Infopath 表单启动工作流
摘要: using Microsoft.Office.InfoPath;using System;using System.Xml;using System.Xml.XPath;using Microsoft.SharePoint;using Microsoft.SharePoint.Workflow;using System.Web;namespace 表单109{ public partial class FormCode { // 启用浏览器功能的表单不支持成员变量。 // 请使用代码从 FormState 词典 // 写入和读取这些值,如下... 阅读全文
posted @ 2013-05-09 10:23 ※繁星※ 阅读(484) 评论(0) 推荐(0)
2013年5月3日
C# WinForm程序退出的方法
摘要: 1.this.Close(); 只是关闭当前窗口,若不是主窗体的话,是无法退出程序的,另外若有托管线程(非主线程),也无法干净地退出;2.Application.Exit(); 强制所有消息中止,退出所有的窗体,但是若有托管线程(非主线程),也无法干净地退出;3.Application.ExitThread(); 强制中止调用线程上的所有消息,同样面临其它线程无法正确退出的问题;4.System.Environment.Exit(0); 这是最彻底的退出方式,不管什么线程都被强制退出,把程序结束的很干净。 阅读全文
posted @ 2013-05-03 09:20 ※繁星※ 阅读(114) 评论(0) 推荐(0)
2013年3月28日
new SPContext.Current
摘要: using (SPSite site = new SPSite(siteUrl)) { using (SPWeb web = site.OpenWeb(new Guid(webId))) { HttpRequest request = new HttpRequest("", web.Url, ""); HttpContext.Current = new HttpContext(request, new HttpResponse(T... 阅读全文
posted @ 2013-03-28 17:51 ※繁星※ 阅读(157) 评论(0) 推荐(0)
2013年3月21日
直接修改SharePoint 数据库 更改用户信息,要修改两个表
摘要: 直接修改SharePoint 数据库 更改用户信息,要修改两个表update UserInfo set tp_Email='' where tp_Login='domain\test' select * from AllUserData where tp_ListId=(select tp_ID from AllLists where tp_Title='User Information List')update AllUserData set nvarchar4='‘ where tp_ListId=(select tp_ID from 阅读全文
posted @ 2013-03-21 11:19 ※繁星※ 阅读(321) 评论(0) 推荐(0)
2013年3月14日
数据绑定
摘要: 1、TextBox与Slider数据双向绑定 <TextBox HorizontalAlignment="Left" Margin="155,154,0,0" TextWrapping="Wrap" Text="{Binding Value,Mode=TwoWay,ElementName=slider1}" VerticalAlignment="Top" Height="38" Width="217"/> <Slider x:Name=& 阅读全文
posted @ 2013-03-14 20:21 ※繁星※ 阅读(133) 评论(0) 推荐(0)
2012年8月17日
sql server 2008 分页方法
摘要: ----方法1:WITH UserInfos AS(select *,row_number() over(order by user_id) as RowNumberfrom user_info)select *from UserInfoswhere RowNumber between 21 and 30----方法2:select * from(select *,row_number() over(order by user_id desc) as RowNumberfrom user_info) Awhere RowNumber between 21 and 30 阅读全文
posted @ 2012-08-17 17:29 ※繁星※ 阅读(532) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 11 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3