// use ADO.NET to query all rows from server. Let assume we get all data the table in records Collection records = new Collection(); Collection shapeFileColumns = new Collection(); shapeFileColumns.Add(new DbfColumn("RecordID", DbfColumnType.Integer, 20, 6)); shapeFileColumns.Add(new DbfColumn("Intensity", DbfColumnType.Float, 20, 6)); ShapeFileFeatureSource.CreateShapeFile(ShapeFileType.Point, "E:/Test.shp", shapeFileColumns); ShapeFileFeatureSource shapefileFeatureSource = new ShapeFileFeatureSource("E:/Test.shp"); shapefileFeatureSource.Open(); shapefileFeatureSource.BeginTransaction(); foreach (var record in records) { Dictionary columnValues = new Dictionary(); columnValues.Add("Intensity", record.intensity.ToString()); columnValues.Add("RecordID", record.id.ToString()); Feature addingFeature = new Feature(new PointShape(double.Parse(record.lon), double.Parse(record.lat)), columnValues); shapefileFeatureSource.AddFeature(addingFeature); } shapefileFeatureSource.CommitTransaction(); shapefileFeatureSource.Close();