摘要: using(newSPSite("http://mysite/myweb").OpenWeb()){//giverelativepathofthewebpartpageSPLimitedWebPartManagerwm=page.GetLimitedWebPartManager("default.aspx",System.Web.UI.WebControls.WebParts.PersonalizationScope.Shared);foreach(System.Web.UI.WebControls.WebParts.WebPartwpinwm.WebP 阅读全文
posted @ 2013-08-09 09:49 zyip 阅读(166) 评论(0) 推荐(0)