Dim mMySQLConnectionString As String = "Server=localhost;Database=game;Uid=root;password =password" Dim conn As MySqlConnection Dim dr As MySqlDataReader Dim cmd As New MySqlCommand conn = New MySqlConnection() conn.ConnectionString = mMySQLConnectionString Try conn.Open() cmd.CommandText = "SELECT Level, XP, ID FROM user WHERE Username='?Username'('" & Levellabel.Text & "')" cmd.Parameters.Add(New MySqlParameter("?UserName", Usernamelabel.Text)) cmd.Connection = conn dr = cmd.ExecuteReader dr.Read()'!Here is where i want to give the value's to my label and progressbar! Levellabel.Text = dr.GetValue("Level")IDlabel.Text = (dr.GetOrdinal("ID"))'Levellabel.Text = (dr.GetOrdinal("Level"))'XPlabel.Text = (dr.GetValue("XP"))XPbar.Value = (dr.GetValue("XP"))Me.XPlabel.Text = dr("XP").ToString Catch myerror As MySqlException MessageBox.Show("Database Error: " & myerror.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Information) Catch ex As Exception MessageBox.Show("Error: " & ex.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Information) Finally cmd.Parameters.Clear() conn.Close() cmd.Dispose() conn.Dispose()