public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crIdentificationCard rpt = new crIdentificationCard();

            rpt.Site = this.Site;
            return(rpt);
        }
        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();
        }