Saved Bookmarks
| 1. |
How Would You Loop Using Splist Through All Sharepont List Items, Assuming You Know The Name (in A String Value) Of The List You Want To Iterate Through, And Already Have All The Site Code Written? |
|
Answer» C# SPList interviewList = myWeb.Lists[“listtoiterate”]; foreach (SPListItem INTERVIEW in interviewList) { // Do Something } C# < view plain text > SPList interviewList = myWeb.Lists[“listtoiterate”]; foreach (SPListItem interview in interviewList) { // Do Something } |
|