I need to remove items from a list in reverse order (until the last entry) It's been successful, but from the beginning until the end, here's a part of the code I'm using:
The list is on a separate site collection. {SPList FIitem = oWeb.Lists ["list"] using
(SPS ite OSIT = new SPS ite ("urltolist")) {{SPWeb oWeb = oSite.RootWeb}; Foreach (SPListItem item in FISTem.Items) {// Display Entries}}}
You do not have to settle the rootwab in this case. pre> div> html>
Comments
Post a Comment