Tagged Questions
0
votes
1answer
17 views
Proper way to evaluate/get status of boolean field when looping through SP List with code
What is the best way to do this when looping a list? I have tried to evaluate it with something like this but it wont let me evaluate bool as an "if" condition
if (item["ShowTitle"] == true)
//do ...
0
votes
1answer
53 views
Double value in URL from SPListItemCollection result
I have a basic list which I am using to generate a "Quick Links" menu WebPart. It looks ok but for some reason the URL field (of URL type) when rendered renders html that looks like this:
<a ...
1
vote
1answer
555 views
When to use List<SPList> vs SPListCollection?
If I have to grab numerous lists which I have the name, URL or Guid of, should I use web.Lists and return the entire SPListCollection or grab the specific ones I need via web.Lists[Guid] and place ...