コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crIdentificationCard rpt = new crIdentificationCard();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        private void btnIdentificationCard_Click(object sender, EventArgs e)
        {
            crIdentificationCard crIdentificationCard = new crIdentificationCard();

            crIdentificationCard.Database.Tables["identificationcard_view"].SetDataSource(residentBL.ListIdentificationCard(residentEL.Residentid));

            crv.ReportSource = null;
            crv.ReportSource = crIdentificationCard;
            crv.Refresh();
        }