Пример #1
0
        public void PrintCreditAccountExpiryReport(DataTable sourceTable, string memberName)
        {
            if (!sourceTable.Columns.Contains("MemberName"))
            {
                DataColumn colMemberName = new DataColumn("MemberName", typeof(string));
                sourceTable.Columns.Add(colMemberName);
            }
            sourceTable.Rows[0]["MemberName"] = memberName;

            ACMSLogic.Report.MemberCreditPackageExpiryReport report = new ACMSLogic.Report.MemberCreditPackageExpiryReport();
            report.DataSource = sourceTable;
            report.CreateDataBindings();
            report.DataSource = sourceTable;
            report.CreateDataBindings();
            report.Print();
        }
Пример #2
0
        public void PrintCreditAccountExpiryReport(DataTable sourceTable, string memberName)
        {
            if (!sourceTable.Columns.Contains("MemberName"))
            {
                DataColumn colMemberName = new DataColumn("MemberName", typeof(string));
                sourceTable.Columns.Add(colMemberName);
            }
            sourceTable.Rows[0]["MemberName"] = memberName;

            ACMSLogic.Report.MemberCreditPackageExpiryReport report = new ACMSLogic.Report.MemberCreditPackageExpiryReport();
            report.DataSource=sourceTable;
            report.CreateDataBindings();
                    report.DataSource=sourceTable;
            report.CreateDataBindings();
            report.Print();
        }