Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crReorderReport rpt = new crReorderReport();

            rpt.Site = this.Site;
            return(rpt);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            dsReorderRep ds = new dsReorderRep();

            dsReorderRepTableAdapters.v_ReorderReportTableAdapter ta = new dsReorderRepTableAdapters.v_ReorderReportTableAdapter();

            crReorderReport rp = new crReorderReport();

            ta.Fill(ds.v_ReorderReport);
            rp.SetDataSource(ds);

            crvReorderReport.ReportSource = rp;
        }