Beispiel #1
0
        private void btnprovbill_Click(object sender, RoutedEventArgs e)
        {
            Checkout1 co = new Checkout1();

            co.ROOM_NO = roomno;
            d1         = co.guestinfo();
            d2         = co.ROOMCATEGORY();
            d3         = co.checkoutdetails();
            d4         = co.company_contact();
            id         = co.get_checkout_id();
            // ********** For Report *******************
            // ReportDocument rrr = new ReportDocument();
            //rrr.Load("../../Checkoutreport.rpt");
            // Checkout1 co1 = new Checkout1();
            // DataTable hotel2 = co1.GET_HOTELADDRESS();
            //rrr.Subreports[0].SetDataSource(hotel2);
            //rrr.SetDataSource(Checkout1.dt);
            //rrr.PrintToPrinter(1, false, 0, 0);
        }