SPWeb thisWeb = SPContext.Current.Web; SPView view = thisWeb.Lists["listname"].Views["viewname"]; string querystring = //Generate the CAML query view.Query = querystring; view.Update();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)