I was just browsing on the Internet and then I found this really interesting post wrote by Rob Garrett:
http://blog.robgarrett.com/2009/02/25/efficient-way-to-add-a-new-item-to-a-sharepoint-list/
Interesting part about is that SPList.Items.Add method gets all items in the list before adding a new SPListItem. So you can use SPQuery class to do this. I am sure gonna test this :)
No comments:
Post a Comment