示例#1
0
    private void InitializeComponent()
    {
        WebConfigData config = new WebConfigData();
        config.LoadSettings(Server.MapPath("config\\VsWebServiceApp.config"));

        DBconn = new VsDbMysqlConnect(config.data["HostIP"], config.data["ConnectionString"]);
    }
示例#2
0
    private void InitializeComponent()
    {
        WebConfigData config = new WebConfigData();

        config.LoadSettings(Server.MapPath("config\\VsWebServiceApp.config"));

        DBconn = new VsDbMysqlConnect(config.data["HostIP"], config.data["ConnectionString"]);
    }
示例#3
0
    public string getConfig()
    {
        WebConfigData config = new WebConfigData();

        config.LoadSettings(Server.MapPath("config\\VsWebServiceApp.config"));

        return(config.data["HostIP"] + config.data["ConnectionString"]);
    }
示例#4
0
    public string getConfig()
    {

        WebConfigData config = new WebConfigData();
        config.LoadSettings(Server.MapPath("config\\VsWebServiceApp.config"));

        return config.data["HostIP"] + config.data["ConnectionString"];


    }