Beispiel #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            string s = "Data Source=" + textBox1.Text + ";User Id=" + textBox2.Text + ";Password=" + textBox3.Text;

            dataBaseOption = new DataBaseOption(s);
            MessageBox.Show(s);
        }
Beispiel #2
0
 public Form1()
 {
     InitializeComponent();
     dataBaseOption = new DataBaseOption();
 }