public static string GetSettingValueString(string settingName, string settingCategory)
        {
            string s = "";

            SettingsDS.SettingsDSDataTable dt = BllProxySettings.SelectSetting(settingName, settingCategory);

            if (dt.Rows.Count > 0)
            {
                s = dt[0].value;
            }

            return(s);
        }
        public static bool GetSettingValueBoolean(string settingName, string settingCategory)
        {
            bool result = false;

            bool b = false;

            SettingsDS.SettingsDSDataTable dt = BllProxySettings.SelectSetting(settingName, settingCategory);

            string s = "";

            if (dt.Rows.Count > 0)
            {
                s = dt[0].value;
            }


            if (bool.TryParse(s, out b))
            {
                result = b;
            }

            return(result);
        }
        public static Int32 GetSettingValueInt(string settingName, string settingCategory)
        {
            Int32 result = 0;

            Int32 i = 0;

            SettingsDS.SettingsDSDataTable dt = BllProxySettings.SelectSetting(settingName, settingCategory);

            string s = "";

            if (dt.Rows.Count > 0)
            {
                s = dt[0].value;
            }


            if (Int32.TryParse(s, out i))
            {
                result = i;
            }


            return(result);
        }