Tagged Questions
0
votes
1answer
330 views
Proper use of SPWeb from SPContext for pulling lists
So, after about two hours on the subject I am thoroughly confused. There are viewpoints all over the place on how, when, and why to use Dispose() on SPWeb objects as they relate to SPContext.
Can ...
11
votes
3answers
1k views
Should I dispose these SPSite and SPWeb objects?
Is it necessary to dispose the site and web objects in the following code? If so, how do I do this?
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
Dim site ...