I am trying to get the code below to input the data read into a text box as oppose to writing to a console as is currently done below.
I imagine this is straight forward so any ideas?
(code found from http://dev.mysql.com/doc/refman/5.0/en/connector-net-examples-mysqldatareader.html#connector-net-examples-mysqldatareader-getbytes
Public Sub ReadMyData(myConnString As String)
Dim mySelectQuery As String = "SELECT OrderID, CustomerID FROM Orders"
Dim myConnection As New MySqlConnection(myConnString)
Dim myCommand As New MySqlCommand(mySelectQuery, myConnection)
Dim myReader As MySqlDataReader
myReader = myCommand.ExecuteReader()
' Always call Read before accessing data.
Console.WriteLine((myReader.GetInt32(0) & ", " & myReader.GetString(1)))
End Sub 'ReadMyData