Create an SPSite Object or SPWeb Object

When you create a feature with a custom aspx page.

in your code behind, let your page inherit from LayoutsPageBase.

this enables some interesting properties like:

this.Site and this.Web

More information: http://msdn.microsoft.com/en-us/library … ebase.aspx

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)