public bool UpdateConfig(Webb.Reports.DataProvider.DBSourceConfig config) { _ValidateSetting = BeginToDownLoadDataFromServer(); config.WebbDBType = Webb.Reports.DataProvider.WebbDBTypes.CoachCRM; config.DBFilePath = this.txtDataLocation.Text; config.DBConnType = Webb.Data.DBConnTypes.XMLFile; return(true); }
public void SetConfig(Webb.Reports.DataProvider.DBSourceConfig config) { _CCRMConfigData = Webb.Data.CCRMConfigData.LoadConfig(CCRMServerConfigPath); if (_CCRMConfigData == null) { _CCRMConfigData = CreateDefaultCCRM(); } this.txtLoginName.Text = _CCRMConfigData.LoginName; this.cmbServer.Text = GetServerAddress(); this.txtDataLocation.Text = _CCRMConfigData.DataSavedLocation + "[Player ContactInformation].wrdf"; }
public bool UpdateConfig(ref Webb.Reports.DataProvider.DBSourceConfig config) { bool success = BeginToDownLoadDataFromServer(); if (!success) { return(false); } config.WebbDBType = Webb.Reports.DataProvider.WebbDBTypes.CoachCRM; config.DBFilePath = this.txtDataLocation.Text; config.DBConnType = Webb.Data.DBConnTypes.XMLFile; return(true); }