摘要: 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 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 以下代码可以用来获取文档的上一个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 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 今天做了一个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 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 一下图片是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 阅读(201) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2011-12-06 11:44 Liu_Liu 阅读(192) 评论(0) 推荐(0) 编辑