Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach (ListItem listItem in items)
- {
- console.WriteLine(listItem["Title"]=="XYZ") // say, there is no item with a title "XYZ"
- }
- if (item.FieldValues.ContainsKey("Title"))
- {
- var value = item["Title"];
- }
Add Comment
Please, Sign In to add comment