Introduction to Programming with DotSpatial

'Get the shapefile's attribute table to our datatable dt. ... //Get the shapefile's attribute table to our datatable dt. dt = stateLayer.DataSet.DataTable; ... For Each row As DataGridViewRow In dgvAttributeTable.SelectedRows. Dim stateLayer As MapPolygonLayer. stateLayer = CType(Map1.Layers(0), MapPolygonLayer) ... ................
................