コード例 #1
0
        public static string GetCaption(this ReportFilter filter)
        {
            string result = string.Empty;

            if (!LazyFilterCaptions.Value.TryGetValue(filter, out result))
            {
                result = filter.ToString();
            }
            return(string.IsNullOrEmpty(result) ? filter.ToString() : result);
        }
コード例 #2
0
        private DataRow createRowForFilter(DataTable sourceTable, ReportFilter filter)
        {
            DataRow result = sourceTable.NewRow();

            result["Description"] = filter.ToString();
            result["Filter Type"] = filter.FilterType;
            return(result);
        }