I am trying to retrieve a list using its ID, however it does not work, and I cannot understand why
It works without a problem ...
using (SPSite site = new SPSite("http://example.org/sites/specific/staffhandbook")) using (SPWeb web = site.OpenWeb()) { SPList list = web.Lists["Documents"];
It should be, but is it not?
using (SPSite site = new SPSite("http://example.org/sites/specific/staffhandbook")) using (SPWeb web = site.OpenWeb()) { SPList list = web.Lists["29540646-bcab-4beb-8a91-648c1f3178b8"];
c # sharepoint sharepoint-2007
Rob
source share