会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Emir Liu's Blog
博客园
首页
博问
闪存
新随笔
订阅
管理
2018年3月29日
Linux学习笔记
摘要: Linux各目录及每个目录的详细介绍 https://blog.csdn.net/u013239236/article/details/48845251 Linux常用命令 https://blog.csdn.net/zzcv_/article/details/2145362 Linux常用20个命
阅读全文
posted @ 2018-03-29 22:02 Liu_Liu
阅读(75)
评论(0)
推荐(0)
2013年6月7日
用代码发送包含SharePoint文档作为附件的邮件
摘要: MailMessage attachmentmessage = new MailMessage(); attachmentmessage.From = new MailAddress("administrator@domain.com"); attachmentmessage.To.Add(new MailAddress("test@domain.com")); attachmentmessage.IsBodyHtml = true; attachmentmessage.Body = "this is...
阅读全文
posted @ 2013-06-07 15:57 Liu_Liu
阅读(112)
评论(0)
推荐(0)
2013年5月27日
用lists.asmx web service 获取文件夹中的文件数量 - SharePoint 2010
摘要: listWebService.Lists listService = new listWebService.Lists(); listService.Url = "http://emiliu:8081/team2/_vti_bin/Lists.asmx"; listService.Credentials = System.Net.CredentialCache.DefaultCredentials; XmlDocument xmlDoc = new System.X...
阅读全文
posted @ 2013-05-27 14:40 Liu_Liu
阅读(298)
评论(0)
推荐(0)
2013年5月24日
SharePoint 2010 - 获取文档的上一个publish version
摘要: 以下代码可以用来获取文档的上一个major version, 并且复制内容到另一document library。using (SPWeb web = new SPSite("http://emiliu:8081/team2").OpenWeb()){ SPFile file = web.GetFile("http://emiliu:8081/team2/Pages/original page.aspx"); //Get all version SPFileVersionCollection versions = file.Versions; ...
阅读全文
posted @ 2013-05-24 13:40 Liu_Liu
阅读(188)
评论(0)
推荐(0)
2013年5月23日
Custom an Site Hierachy with TreeNode in SharePoint 2010
摘要: 今天做了一个Site Hierachy控件,可以显示当前web,以及当前web下的所有list和subweb,虽然简单,但是挺有成就感的。在这和大家分享一下,有兴趣的童靴可以看看。代码如下。using System;using Microsoft.SharePoint;using Microsoft.SharePoint.WebControls;using System.Web.UI.WebControls;namespace Site_hierachy.Layouts.Site_hierachy{ public partial class SiteTreeView : LayoutsP...
阅读全文
posted @ 2013-05-23 17:48 Liu_Liu
阅读(169)
评论(0)
推荐(0)
2011年12月8日
用代码填充字符串到InfoPath repeating table中
摘要: 一下图片是InfoPath的data结构,field1里边存了Maintenance accepted^Smith, Bob^12/5/2011^10:40 AM^"test comment"|^Smith,Bob^12/5/2011^10:57 AM^"Add comment only的一串字符串,我需要将他在repeating table中显示成一下格式。Maintenance acceptedSmith, Bob12/5/201110:40 AMtest commentSmith, Bob12/5/201110:57 AMTEST test加一下代码到Inf
阅读全文
posted @ 2011-12-08 09:50 Liu_Liu
阅读(209)
评论(0)
推荐(0)
2011年12月6日
用XSLT比较两个时间差
该文被密码保护。
阅读全文
posted @ 2011-12-06 11:44 Liu_Liu
阅读(192)
评论(0)
推荐(0)