How do I get access to the correct SPSite entity from a webpart

To get access to the correct SPSite entity from a webpart use the SPContext.Current where you have access to both the current site and web.

No related posts.

Posted under Developer

This post was written by furuknap on January 6, 2009

Tags: ,

Do you want to contribute to this answer?

Name (required)

Email (required)

Website

Comments

More Blog Post

Next Post: