Differntiate between site and subsite….!
Hi All, this is how u differentiate between site and subsite…. actually the thing which should be kept in mind is that we need to get the lowest level of site first…. so here is the code….
ForEach spweb In spsite.OpenWeb.Webs
- Posted in: SharePoint