Tag Info

Hot answers tagged

1

You can try like below : SPListItem itemToAdd = list.Items.Add(); itemToAdd["Title"] = "Test Title"; itemToAdd["Description"] = "Test Description"; itemToAdd.Update();


1

Try doing: item.Update() instead of: list.Update()



Only top voted, non community-wiki answers of a minimum length are eligible