I am getting an error on this line of code, hope someone can help.
As you can see all I want to do is loop through the dataset and add column 1 to a list view for each row.
VB Code:
  1. Me.lstEmpStates.RowSourceType = ValueList
  2. While Not rs.BOF And Not rs.EOF
  3. [U]Me.lstEmpStates.Additem rs.DataMember(rs.RecordCount, 1)[/U]
  4. rs.MoveNext