private void btnLuu_Click(object sender, EventArgs e) { CauHinh.ChangeConnectionString(cboServer.Text, cboDatabase.Text, txtUsername.Text, txtPassword.Text); String conn = @"Data Source=" + cboServer.Text + ";Initial Catalog=" + cboDatabase.Text + ";Integrated Security=True"; //CauHinh.ChangeConnectionStringApp(QL_TK,conn,) this.Close(); }
private void btnLuu_Click(object sender, EventArgs e) { Cauhinh.ChangeConnectionString(cbo_svname.Text, cboDatabase.Text, txtUsername.Text, txtPassWord.Text); this.Close(); }