Ejemplo n.º 1
0
        /// <summary>
        /// Purpose: Grabs configuration information based on configuration code
        /// Accepts: String
        /// Returns: Nothing
        /// </summary>
        public void GetConfigurationByCode(string code)
        {
            try
            {
                ConfigurationData data = new ConfigurationData();
                Hashtable         hsh  = new Hashtable();

                hsh = data.GetConfigurationByCode(code);

                ConfigurationCode = code;
                Description       = hsh["description"];
                Value             = hsh["value"];
                IsYesNoValue      = hsh["isyesnovalue"];
                YesNoValue        = hsh["yesnovalue"];
                Modified          = hsh["modified"];
            }
            catch (Exception ex)
            {
                ErrorRoutine(ex, "Configuration", "GetConfigurationByCode");
            }
        }