예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptItemList rpt = new rptItemList();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        public static ReportDocument LoadItemList()
        {
            ReportDocument rpt = new Master.rptItemList();
            dsReports      ds  = new dsReports();

            ds.EnforceConstraints = false;

            ItemsTableAdapter ta = new ItemsTableAdapter();

            ta.ClearBeforeFill = true;
            ta.Connection      = AppHelper.GetDbConnection();
            ta.Fill(ds.Items);

            RetrieveDeveloper(ds.Developer);
            RetrieveOwner(ds.Owner);
            rpt.SetDataSource(ds);
            return(rpt);
        }
예제 #3
0
        public static ReportDocument LoadItemList()
        {
            ReportDocument rpt = new Master.rptItemList();
            dsReports ds = new dsReports();
            ds.EnforceConstraints = false;

            ItemsTableAdapter ta = new ItemsTableAdapter();
            ta.ClearBeforeFill = true;
            ta.Connection = AppHelper.GetDbConnection();
            ta.Fill(ds.Items);

            RetrieveDeveloper(ds.Developer);
            RetrieveOwner(ds.Owner);
            rpt.SetDataSource(ds);
            return rpt;
        }
예제 #4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     rptItemList rpt = new rptItemList();
     rpt.Site = this.Site;
     return rpt;
 }