Esempio n. 1
0
        public static ReportHyperlinkColumn LinkToDataColumn(ReportDataColumn linkedReportDataColumn, Type valueType)
        {
            ReportHyperlinkColumn toRet = new ReportHyperlinkColumn();

            toRet.name      = linkedReportDataColumn.Name + "Link";
            toRet.ValueType = valueType;

            return(toRet);
        }
Esempio n. 2
0
        public static ReportHyperlinkColumn ReplaceDataColumn(ReportDataColumn reportDataColumnToReplace)
        {
            ReportHyperlinkColumn toRet = new ReportHyperlinkColumn();

            toRet.name      = reportDataColumnToReplace.Name;
            toRet.ValueType = reportDataColumnToReplace.ValueType;

            return(toRet);
        }
Esempio n. 3
0
        public ReportDataColumn AddNewReportDataColumn(string name)
        {
            ReportDataColumn reportDataColumnToInsert = null;

            if (String.IsNullOrEmpty(name))
            {
                reportDataColumnToInsert = this.AddNewReportDataColumn();
            }
            else
            {
                reportDataColumnToInsert = new ReportDataColumn(name);
                this.Add(reportDataColumnToInsert);
            }

            return(reportDataColumnToInsert);
        }