I need it add data from a dataset to a status bar panel but I just can’t figure it out, can anyone help. Below is the code I am using to fill the dataset
Dim SQLStatement As String = "SELECT department FROM TblUserName WHERE [UserName]='" & Me.txtUserName.Text & "'"
Dim SelectCommand As New OleDb.OleDbDataAdapter(SQLStatement, OleDbConnection1)
Dim ds As New DataSet