server = "192.168.10.221"; database = "restaurantdb"; uid = "root"; password = ""; string connectionString; connectionString = "SERVER=" + server + "; PORT = 3306 ;" + "DATABASE=" + database + ";" + "UID=" + uid + ";" + "PASSWORD=" + password + ";"; mycon = new MySqlConnection(connectionString);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)