public override string FormatCursorLabel(IComparable dataValue)
 {
     try
     {
         return(base.FormatCursorLabel(dataValue));
     }
     catch (Exception err)
     {
         LoggerHome.GetLogger(this).Error("Error in CustomDateLabelFormatter:FormatCursorLabel " + dataValue.ToString(), err);
         return(string.Empty);
     }
 }
        public override string FormatLabel(IComparable dataValue)
        {
            try
            {
                DateTime sTemp = (DateTime)dataValue;

                return(sTemp.ToShortDateString());
            }
            catch (Exception err)
            {
                LoggerHome.GetLogger(this).Error("Error in CustomDateLabelFormatter::FormatLabel " + dataValue.ToString(), err);
                return(string.Empty);
            }
        }