摘要: 如果你是做SharePoint开发的话,一定不会对如下这段代码陌生: using(SPSite oSiteCollection = new SPSite("http://Server_Name")){ using(SPWeb oWebsite = oSiteCollection.OpenWeb("Website_URL")) { }}你会在自定义webPart, 或者是一个控制台程序中写这段代码。那么你有没尝试过在ASP.NET中写这段代码?譬如说使用SPGridView控件的时候,与其在WebPart中调试,是不是没有在ASP.NET的Web Appl 阅读全文
posted @ 2011-03-16 17:35 范文轩 阅读(2105) 评论(1) 推荐(1) 编辑