QueryFilter pQueryFilter = new QueryFilter();
String whereclause = "UPPER(/"NAME/") like UPPER('%jack%')";
pQueryFilter.setWhereClause(whereclause);
在条件语句上的前后都加上UPPER转换,这样就不区分大小写了。
以下有VB的IQueryFilter.WhereClause Property文档:
http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esrigeodatabase/IQueryFilter_WhereClause.htm
Selecting features and graphics
http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=SQL_reference
原文链接:https://www.f2er.com/vb/262992.html