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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        private void Data()
        {
            //DataTable dt = Class.DBConnString.clsDB.QueryDataTable("AranalysisReport " + txtidCustomer.Text.Trim() + ',' + "'" + dtStartDate.Value.ToString() + "'" + ',' + "'" + dtEndDate.Value.ToString() + "'");

            DataTable        dt  = Class.DBConnString.clsDB.QueryDataTable("AASSET_MOVEMENT_REPORT " + strAssetMovementId.ToString());
            CryAssetMovement Ctr = new CryAssetMovement();

            Ctr.SetDataSource(dt);
            CrvAssetMovement.ReportSource = Ctr;
            CrvAssetMovement.Refresh();
            CrvAssetMovement.Show();
        }