コード例 #1
0
ファイル: Form1.cs プロジェクト: leaf222/ServerTrial
        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);
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: leaf222/ServerTrial
 public Form1()
 {
     InitializeComponent();
     dataBaseOption = new DataBaseOption();
 }