Tag Info

New answers tagged

0

A lot of things to note here: In case #1, you open new SPSite/SPWeb objects (resulting in a need for AllowUnsafeUpdates). You open new objects only in case you want to run code in an elevation section (or with System user token, with leads more or less to the same result). In both cases, you use list.Items.Add(); witch is a very bad practice: you ...



Top 50 recent answers are included