/// <summary>
        ///
        /// </summary>
        /// <param name="controlName"></param>
        private void GetControlID(string controlName)
        {
            try
            {
                controlName = controlName.Replace("grd", string.Empty).ToLower();
                controlName = controlName.Replace("btndelete", string.Empty).ToLower();
                controlName = controlName.Replace("chkselect", string.Empty).ToLower();

                switch (controlName)
                {
                case "colour":
                    CharCode          = CharacteristicTypes.Where(c => c.Description.ToLower() == "color" || c.Description.ToLower() == "colour").FirstOrDefault().Code;
                    grdCharacteristic = grdColour;
                    chkCharacteristic = chkSelectColour;
                    CharHeaderText    = "Color";
                    break;

                case "size":
                    CharCode          = CharacteristicTypes.Where(c => c.Description.ToLower() == "size").FirstOrDefault().Code;
                    grdCharacteristic = grdSize;
                    chkCharacteristic = chkSelectSize;
                    CharHeaderText    = "Size";
                    break;

                case "style":
                    CharCode          = CharacteristicTypes.Where(c => c.Description.ToLower() == "style").FirstOrDefault().Code;
                    grdCharacteristic = grdStyle;
                    chkCharacteristic = chkSelectStyle;
                    CharHeaderText    = "Style";
                    break;

                case "fabric":
                    CharCode          = CharacteristicTypes.Where(c => c.Description.ToLower() == "fabric").FirstOrDefault().Code;
                    grdCharacteristic = grdFabric;
                    chkCharacteristic = chkSelectFabric;
                    CharHeaderText    = "Fabric";
                    break;

                default:
                    break;
                }
            }
            catch (Exception ex)
            {
                Logger.Log(ex, Logger.LogingLevel.Error);
                throw ex;
            }
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="gridName"></param>
        /// <returns></returns>
        private string GetCharCode(string gridName)
        {
            try
            {
                gridName = gridName.Replace("grd", string.Empty).ToLower();

                switch (gridName)
                {
                case "colour":
                    CharCode       = CharacteristicTypes.Where(c => c.Description.ToLower() == "color" || c.Description.ToLower() == "colour").FirstOrDefault().Code;
                    CharHeaderText = "Color";
                    break;

                case "size":
                    CharCode       = CharacteristicTypes.Where(c => c.Description.ToLower() == "size").FirstOrDefault().Code;
                    CharHeaderText = "Size";
                    break;

                case "style":
                    CharCode       = CharacteristicTypes.Where(c => c.Description.ToLower() == "style").FirstOrDefault().Code;
                    CharHeaderText = "Style";
                    break;

                case "fabric":
                    CharCode       = CharacteristicTypes.Where(c => c.Description.ToLower() == "fabric").FirstOrDefault().Code;
                    CharHeaderText = "Fabric";
                    break;

                default:
                    break;
                }
                return(CharCode);
            }
            catch (Exception ex)
            {
                Logger.Log(ex, Logger.LogingLevel.Error);
                throw ex;
            }
        }