Guest User

Untitled

a guest
May 19th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.56 KB | None | 0 0
  1.  Public Shared Function GetAlleCategorieen() As ObservableCollection(Of FuifProduct)
  2.         Dim categorieen As New ObservableCollection(Of String)
  3.         Dim sNaamConnectieString As String = "FuifConnectionString"
  4.         Dim sSQL As String = "Select DISTINCT FPCategorie From [Beursfuif].[dbo].[FuifProduct]"
  5.         Dim reader As SqlDataReader = Beursfuif.BL.Database.GetReader(sNaamConnectieString, sSQL, Nothing)
  6.         Do While reader.Read()
  7.             Dim fpcategorie As String = reader("FPCategorie")
  8.  
  9.             Dim cat As
  10.         Loop
  11.     End Function
Add Comment
Please, Sign In to add comment