Sample code that demonstrates how to get the number of rows in a feature set.

Imports System.Windows.Forms
Imports DotSpatial.Data

Private Sub button1_Click(sender As Object, e As EventArgs)
	Dim fs As New FeatureSet()
	fs.FillAttributes()
	fs.Open("C:\Temp\roads.shp")
	Dim numRows As Double = fs.NumRows()
End Sub

Last edited Jul 13, 2010 at 2:54 PM by AlamoMan, version 4