承接MOSS各种工作流开发 联系人:王先生.电话:18618405729QQ:252385878 QQ群:41696750 MSN:wanghao-3@hotmail.com

导航

2011年3月21日 #

CAML 多表查询 SPQuery.Joins and ProjectedFields

摘要: 在实际的SharePoint项目中,业务都比较复杂,其实我们的List一直都支持多表查询的~~嘿嘿!Demo:字典表:CityState表: 标题(Text) State(Text) AreaCode(num)Locations表: 标题(Text) City(Text) zipCode (num)Customer表: CustomerName(Text) Address(Text) City(Lookup) State(Lookup)下面通过SPQuery 进行多表查询(不过Joins 和ProjectedFields 对于字段有很多限制,join的表不支持多行文本,不支持用户或用户组 ). 阅读全文

posted @ 2011-03-21 21:58 A A 阅读(1148) 评论(1) 推荐(0) 编辑