private void IssueReport_Load(object sender, EventArgs e)
 {
     Team08B_LibraryManagementSystemDataSet ds = new Team08B_LibraryManagementSystemDataSet();
     Team08B_LibraryManagementSystemDataSetTableAdapters.ReceiptTableAdapter ta = new Team08B_LibraryManagementSystemDataSetTableAdapters.ReceiptTableAdapter();
     PrintReceipt r = new PrintReceipt();
     //Issue s = new Issue();
     ta.Fill(ds.Receipt,issueID);
     r.SetDataSource(ds);
     crvReceipt.ReportSource = r;
 }
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     PrintReceipt rpt = new PrintReceipt();
     rpt.Site = this.Site;
     return rpt;
 }