I have made a list, and i maneged to get the info in to the list.
List class
Fill the list
But now i need to read out each item of the list with the fields.
List class
VB.NET:
Public Class BSartikelList
Public Property Artikel As String
Public Property Artikelnaam As String
Public Property Artikelbsnr As String
Public Property Eenheid As String
Public Property Inhoud As String
Public Property Colli As String
End Class
Fill the list
VB.NET:
lbs = New List(Of BSartikelList)()
BSLijst = New BSartikelList()
BSLijst.Artikelbsnr = rsta.Fields.Item("art_bsnr").Value
BSLijst.Artikelnaam = rsta.Fields.Item("Art_Knm").Value
BSLijst.Inhoud = rsta.Fields.Item("BsInhoud").Value
BSLijst.Eenheid = rsta.Fields.Item("Bseenheid").Value
BSLijst.Colli = rsta.Fields.Item("LO_Colli").Value
rsta.MoveNext()
lbs.Add(BSLijst)
But now i need to read out each item of the list with the fields.