My Sharepoint World
By Lavanya Ranganathan
Reference a current sharepoint web or subsite by context.
SPWeb
web =
SPContext
.Current.Web;
or
SPSite
site =
SPContext
.Current.Site;
SPWeb
web = site.OpenWeb();
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment