예제 #1
0
 // data 접속 
 private string upConn()
 {
     LoginData.getinstance().ReadIni();
     string upconn = "Data Source=" + LoginData.getinstance().cls_ServerAddr + ";Initial Catalog=" + LoginData.getinstance().cls_serverName
     + ";User ID=" + LoginData.getinstance().cls_serverID + ";Password=" + LoginData.getinstance().cls_serverPW;
     return upconn;
 }
예제 #2
0
        public void initConn()
        {
            LoginData login_data = new LoginData();

            login_data.WriteIni(pcnamTextbox.Text, serverAddTextbox.Text, serverNameTextbox.Text, serverIDTextbox.Text, serverPwTextbox.Text);
        }