深入浅出SharePoint——CAML秘籍

 

 

SPQuery viewQuery = new SPQuery();

SPView customView = list.Views.Add("Simple", viewFields, defaultView.Query, defaultView.RowLimit, defaultView.Paged, true);

view.Query = "<Where><Eq><FieldRef Name=\"AssignedTo\" /><Value Type=\"Integer\"><UserID Type=\"Integer\" /></Value></Eq></Where>";

posted @ 2013-05-30 13:53  风影极光  阅读(149)  评论(0编辑  收藏  举报