在mobile 6中用c#开发 ,怎样对联系人进行 过滤、查找操作?
我在mobile 6 中对联系人操作时出现错误
源码如下:
OutlookSession outlookSession;
outlookSession=new OutlookSession();
ContactCollection conts=this.outlookSession.Contacts.Items;
ContactCollection cc=conts.Restrict("LastName='Wang'");
最后一句出现如下错误
The qurey string is incorrectly formatted.
是什么问题那?查询字串该怎么写?
如果写成"LastName like 'A*'"这样可以吗?