Hi,
I am trying to retrieve some listitems from a specific view. But it always return all items from the view.
Passing the view parameter will overwrite the where clause in the query. How can I filter the results with a specific view?
Thanks.
SPQuery query = new SPQuery(); query.Query = "<Where><Eq><FieldRef Name='Company'><Value Type='Text'>ABC</Value></Eq></Where>"; SPListItemCollection res = list.GetItems(query, view);