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

sharepoint list is not updated

$
0
0

hi all,

i have write some code to insert item into my sharepoint list. This is my code

                       

SPList oList = oWeb.Lists["lists"];

SPListItem oSPItem = oList.AddItem();

oSPItem["item1"] = ITEM1id;
 oSPItem["item2"] = ITEM2id;
oSPItem.Update();

but my list is not showing any items being insert. Do you any other suggestion?. 


Viewing all articles
Browse latest Browse all 11508

Trending Articles



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