Hello All - I know this is not the place for SharePoint questions. But
I thought may be someone can direct me to the right resource where
people may answer my question.
I am writing a CAML query to retrieve data from SharePoint list and
when I mention a criteria, it still returns the whole list instead of
specific item. Is there something I am doing that may help me in
getting the right resultset.
eq:
<Where>
<Eq>
<FieldRef Name="Title" />
<Value Type="Text">title</Value>
</Eq>
</Where>
Should return just record whose value matches title. Rather than that
it returns everything. Then I have to convert it to string and match
it using Equals to make it work. I dont like to loop through all the
records to check if it is the right one. BTW I am writing a webpart
using VS 2010 and SharePoint 2010.
Thanks in advance.
- S