Пример #1
0
 private void b_save_Click(object sender, EventArgs e)
 {
     string conStr = @"Data Source=" + txtBoxSRV.Text +
                     ";Initial Catalog=" + txtBoxBD.Text +
                     ";Integrated Security=False;User ID=" + t_Login.Text +
                     ";Password="******";Pooling = true;";
     ToConnection ToConnection = new ToConnection();
     ToConnection.add_conf(conStr);
 }