private void InitializeComponent() { WebConfigData config = new WebConfigData(); config.LoadSettings(Server.MapPath("config\\VsWebServiceApp.config")); DBconn = new VsDbMysqlConnect(config.data["HostIP"], config.data["ConnectionString"]); }
public string getConfig() { WebConfigData config = new WebConfigData(); config.LoadSettings(Server.MapPath("config\\VsWebServiceApp.config")); return(config.data["HostIP"] + config.data["ConnectionString"]); }
public string getConfig() { WebConfigData config = new WebConfigData(); config.LoadSettings(Server.MapPath("config\\VsWebServiceApp.config")); return config.data["HostIP"] + config.data["ConnectionString"]; }