How to read shapefile to a featureSet

Feb 10, 2012 at 12:13 PM

I want to read a shapefile features to a featureSet. I am doing somrthing like this:

FeatureSet fs = new FeatureSet

fs.Filename =

"C:\\Data\\Shape_Files\\Testing\\TestShape.s";

 But in fs object, i could not find any features. Which class/methods should i use for reading shapefile features.?

Feb 13, 2012 at 1:42 AM

string _input = @"c:\aaa.shp"

IFeatureSet _FS = FeatureSet.Open(_input);