// 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; }
public void initConn() { LoginData login_data = new LoginData(); login_data.WriteIni(pcnamTextbox.Text, serverAddTextbox.Text, serverNameTextbox.Text, serverIDTextbox.Text, serverPwTextbox.Text); }