public string getConnectionString1(DBinfo dbconnstring) { string logname = dbconnstring.DBName; logname = logname.Replace("_data", "_log"); // MessageBox.Show("Data Source=MSERVER" + ";Initial Catalog=eplus108_log" + ";User ID=root" + ";Password=metalic"); return("Data Source=" + dbconnstring.ServerName + ";Initial Catalog=" + logname + ";User ID=root" + ";Password=metalic"); }
public string getConnectionString(DBinfo dbconnstring) { // MessageBox.Show("Data Source=MSERVER" + ";Initial Catalog=eplus108_log" + ";User ID=root" + ";Password=metalic"); return("Data Source=" + dbconnstring.ServerName + ";Initial Catalog=" + dbconnstring.DBName + ";User ID=root" + ";Password=metalic"); }