Hi,
I have a listview in my form I need to populate it with the selected feature record from shapefile I am using ArcObject, my code fill all the field in one columns, I need to show only 5 columns in my listview. here is my code so far.
I just need the logic of filling the listview in vb.net from shapefile or table or access table it should be the same.
Regards
I have a listview in my form I need to populate it with the selected feature record from shapefile I am using ArcObject, my code fill all the field in one columns, I need to show only 5 columns in my listview. here is my code so far.
I just need the logic of filling the listview in vb.net from shapefile or table or access table it should be the same.
VB.NET:
Dim nCols As Integer
nCols = pFeature.Fields.FieldCount
For i = 2 To nCols - 1
Me.Listsheet.Items.Add(pFeature.Fields.Field(i).Name)
Me.Listsheet.Items.Add(pFeature.Value(i))
Next