Hi,
I'm connecting to FGDB and then firing the queryFilter in ArcGIS Pro SDK, which is where I'm having trouble because it's not going inside the while loop.
queryFilter which i'm using is:
-----------------------------------------------------------------------------------
QueryFilter routesQueryFilter = new QueryFilter();
routesQueryFilter.WhereClause = templateDesignerProperties.PipelineRouteID + "='" + selectedLineId + "'";
----------------------------------------------------------------------------
and the rowCursor:
----------------------------------------------------------------------------
QueuedTask.Run(() =>
{
using (RowCursor rowCursor = featureClassOpenedAsTableRoute.Search(queryFilter, false))
{
while (rowCursor.MoveNext())
{
//code here
}
}
});
-------------------------------------------------------------------------------------------
Could anyone please tell me the issue that is preventing it from entering the while loop?
Thanks in advance!!