TwitterLinkedInBlog

Thursday, October 15, 2009

SP2007 - How to get SPWeb Url from full Url

Uri fullWebUrl = new Uri("FullUrl");
string webUrl = fullWebUrl.LocalPath;

No comments: