Amsville

Hi,

I'm trying to add an answer to the Answer field of an existing listitem. I can reach the item, but none of the updates are being done.

I update the answer field like this :

item["Answer"] = "NEW ANSWER";
List.Update();

This doesn't give any errors, but it doesn't do anything.

Does anyone know how to update this

Greetz !



Re: SharePoint - Development and Programming Update the Answer field of an existing listitem

Ishai Sagi

Since you changed the item and not the list, you should be calling item.Update(); instead of List.Update.




Re: SharePoint - Development and Programming Update the Answer field of an existing listitem

Amsville

yes ideed this was the problem.
Stupid mistake .

Greetz !