Finding SPListItem by its ID
Monday, December 19th, 2005I just found out that some operations in my SharePoint application run quite slow when used on lists containing large amounts of listitems. In the particular case it was approximately 2,500 items in the list. The result is: NEVER use this code construction to find an element by its ID: oList = oWeb.Lists(”LongList”) [...]
