Hello,
I am trying to delete records from shapefile based on a column type with a delete query, but I keep running into an
Running this query works.
SELECT DISTINCT type, COUNT(type) as 'RecordCount' FROM roads GROUP BY type
Running this query with the ExecuteNonQuery method throws an exception:
DELETE FROM roads WHERE type = 'FIXME' (this query work in SQL server if I import the shapefile)
System.NotSupportedException.{"The SQL Query mode is not supported."}
The wording of this exception is very odd. You can query the source, I would understnad if this exception said delete is not supported or the documentation for the ShapeFileFeatureSource wouldn't state you could:
wiki.thinkgeo.com/wiki/Think...8String.29
Thanks for giving some light on this subject.