The following is not printing out anything on the listview;
There are valid field values for PatientRecords but my listview syntax must be wrong.
I should have multiple rows with a FirstName LastName and VisitDate on the same row.
How should this code look different than what I have below?
And adding columns, that is using a detail view? How does that work?
Thank you. -hazz
Private genlst_PatientRecords As New List(Of clsPatient)
genlst_PatientRecords = CreatePatientInfoList(
Me.TextBoxPatientID.Text)
For i = 0 To genlst_PatientRecords.Count - 1
Dim item As New ListViewItem(genlst_PatientRecords.Item(i).FirstName)
item.SubItems.Add(genlst_PatientRecords.Item(i).LastName)
item.SubItems.Add(genlst_PatientRecords.Item(i).VisitDate)
Next