This project is read-only.

Sample code that demonstrates how to get the value of a single cell in an attribute table.

Imports DotSpatial.Data
Imports System.Windows.Forms

Private Sub button1_Click(sender As Object, e As EventArgs)
	Dim fs As New FeatureSet()
	fs.FillAttributes()
	fs.Open("C:\Temp\roads.shp")
	Dim dt As DataTable = fs.DataTable
	For row As Integer = 0 To dt.Rows.Count - 1
		Dim val As Object = dtOriginal.Rows(row)("LENGTH")
	Next
End Sub

Last edited Jul 13, 2010 at 3:56 PM by AlamoMan, version 4