private void TransactionReportForm_Load(object sender, EventArgs e) { Team10bDS ds = new Team10bDS(); Team10bDSTableAdapters.IssueReturnTableAdapter irta = new Team10bDSTableAdapters.IssueReturnTableAdapter(); irta.Fill(ds.IssueReturn); TransactionReport tr = new TransactionReport(); tr.SetDataSource(ds); TransactionReportCRViewer.ReportSource = tr; }
private void ListOfBooksForm_Load(object sender, EventArgs e) { Team10bDS context = new Team10bDS(); Team10bDSTableAdapters.BooksTableAdapter ta = new Team10bDSTableAdapters.BooksTableAdapter(); ta.Fill(context.Books); ListOfBooks cr = new ListOfBooks(); cr.SetDataSource(context); ListOfBookCRViewer.ReportSource = cr; }
private void CrossTabReportForm_Load(object sender, EventArgs e) { Team10bDS ds = new Team10bDS(); Team10bDSTableAdapters.BooksTableAdapter bta = new Team10bDSTableAdapters.BooksTableAdapter(); bta.Fill(ds.Books); CrossTabReport cr = new CrossTabReport(); cr.SetDataSource(ds); CrossTabCRViewer.ReportSource = cr; }