Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.42 KB | None | 0 0
  1. Function GetAccountInfo(ByVal ID As String) As String
  2.         Dim Query As New SqliteCommand()
  3.         Dim Reader As SqliteDataReader
  4.         With Query
  5.             .Connection = mySQLiteDB
  6.             .CommandText = "SELECT * FROM " & USERS_TABLE & " WHERE Id=" & ID & ";"
  7.         End With
  8.  
  9.         Reader = Query.ExecuteScalar()
  10.  
  11.         Debug.Print(Reader(USER_NAME))
  12.  
  13.         Query.Dispose()
  14.     End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement