AnsweredAssumed Answered

Populating ListView From shapefile

Question asked by hamad2 on May 1, 2013
Latest reply on May 4, 2013 by hamad2
I have a listview in  my form I need to populate with the selected feature record,  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.

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