.I am running below query against a sharepoint list.
How to check the results of below Camlquery? cPop is set with value 'AboutUs'.
Result is always zero records although list has valid matching records. Are there any tools that I can use to build & test queries?
camlQuery.ViewXml = "<View><Query><Where><Eq><FieldRef Name='RelateTo'/><Value Type='Choice'>" + cPop + "</Value></Eq></Where><OrderBy Override='TRUE'><FieldRef Name='RelateTo'/></OrderBy><RowLimit>1</RowLimit></Query></View>";