Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Get An error on delete an item using id.

$
0
0

I have a list which contains 30000 thousand items

Now i want to delete an item from the list using id of the item.

Now i am using :

SPlistitem oitem=list.getitembyid(id);

oitem.delete();

Although it deletes an item from the list but throws an error saying "Item does nto exist . item may be delted by another user".

Please help me on this..!!!!


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>