George_Nikou

RUN - code(VB.net/MySQL)

Oct 16th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Module Module1
  2.  
  3. Sub Main()
  4.  
  5. Dim dbconnect As New DBmanager
  6. 'dbconnect.testConnection()
  7.  
  8. For Each row As DataRow In dbconnect.getAllUsers
  9. Console.WriteLine(" ID: " & row("id") & " Firstname: " & row("fname") & " Lastname: " & row("lname") & " Age: " & row("age") & " Gender: " & row("gender") & " Status: " & row("status"))
  10. Next
  11.  
  12.  
  13. Console.ReadLine()
  14. End Sub
  15.  
  16. End Module
Advertisement
Add Comment
Please, Sign In to add comment