摘要:
using System;using System.Collections.Generic;using System.Text;using Microsoft.SharePoint;using System.Web;namespace MyProject.Features{ public class MyEventReceiver : SPItemEventReceiver { HttpContext currentContext; public MyEventReceiver() { currentContext =... 阅读全文
posted @ 2013-07-19 17:24
鳄鱼的眼泪
阅读(273)
评论(0)
推荐(0)
摘要:
protected void CreateDocLib(){SPSite site = SPContext.Current.Site;SPWeb web = site.OpenWeb(); SPListTemplateType templateType = SPListTemplateType.DocumentLibrary;Guid listId = web.Lists.Add("MyDocLibrary", null, templateType);SPList list = web.Lists[listId]; // create Text type new colum 阅读全文
posted @ 2013-07-19 11:36
鳄鱼的眼泪
阅读(274)
评论(0)
推荐(0)

浙公网安备 33010602011771号