Exemplo n.º 1
0
        public static string GetOrderedType(ReportColumnType type)
        {
            var result = string.Empty;

            switch (type)
            {
            case ReportColumnType.Header:
                result = "1. " + type.Description();
                break;

            case ReportColumnType.HeaderGroup:
                result = "2. " + type.Description();
                break;

            case ReportColumnType.Detail:
                result = "3. " + type.Description();
                break;

            case ReportColumnType.FooterGroup:
                result = "4. " + type.Description();
                break;

            case ReportColumnType.Footer:
                result = "5. " + type.Description();
                break;
            }
            return(result);
        }