private void button1_Click(object sender, RoutedEventArgs e) { string MyConString = "SERVER=192.168.1.100;" + "DATABASE=mcs_kiosk;" + "UID=root;" + "PASSWORD=;"; MySqlConnection connection = new MySqlConnection(MyConString); MySqlCommand command = connection.CreateCommand(); MySqlDataReader Reader; command.CommandText = "select * from mcs_User"; connection.Open(); Reader = command.ExecuteReader(); //textBox1.text = ? ; connection.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)