Exemplo n.º 1
0
 private void FormSearch_Load(object sender, EventArgs e)
 {
     ds = new SA47Team11aLibraryDS();
     ta = new SA47Team11aLibraryDSTableAdapters.BooksTableAdapter();
     ta.Fill(ds.Books);
     ds2 = new SA47Team11aLibraryDS();
     ta2 = new SA47Team11aLibraryDSTableAdapters.PublishersTableAdapter();
     ta2.Fill(ds2.Publishers);
     ds3 = new SA47Team11aLibraryDS();
     ta3 = new SA47Team11aLibraryDSTableAdapters.BookCategoriesTableAdapter();
     ta3.Fill(ds3.BookCategories);
 }
Exemplo n.º 2
0
        private void ListOfBooksReport_Load(object sender, EventArgs e)
        {
            SA47Team11aLibraryDS ds = new SA47Team11aLibraryDS();

            SA47Team11aLibraryDSTableAdapters.BooksTableAdapter ta
                = new SA47Team11aLibraryDSTableAdapters.BooksTableAdapter();
            ta.Fill(ds.Books);

            ListOfBooksCR cr = new ListOfBooksCR();

            cr.SetDataSource(ds);
            listOfBooksReportViewer.ReportSource = cr;
        }
Exemplo n.º 3
0
        private void CrossTabReportForm_Load(object sender, EventArgs e)
        {
            SA47Team11aLibraryDS ds = new SA47Team11aLibraryDS();

            SA47Team11aLibraryDSTableAdapters.BooksTableAdapter ta
                = new SA47Team11aLibraryDSTableAdapters.BooksTableAdapter();
            ta.Fill(ds.Books);

            CrossTabCrystalReport cr = new CrossTabCrystalReport();

            cr.SetDataSource(ds);
            CrossTabCrystalReportViewer.ReportSource = cr;
        }