protected void GetBookingSearch()
        {
            BookingGuestRpt bgr = new BookingGuestRpt();

            bgr.FromDate = txtTodayDate.Text;
            lstbgr       = objRBL.GetCheckinReportById(bgr).ToList();
            gdvBbyCheckinDate.DataSource = lstbgr;
            gdvBbyCheckinDate.DataBind();
        }
Exemple #2
0
        protected void GetBookingSearch()
        {
            BookingGuestRpt bgr = new BookingGuestRpt();

            bgr.FromDate = txtFDate.Text;
            bgr.ToDate   = txtTDate.Text;
            bgr.SupId    = Convert.ToInt32(ddlSupplier.SelectedValue);
            lstbgr       = objRBL.GetSupplierById(bgr).ToList();
            gdvBbySupplier.DataSource = lstbgr;
            gdvBbySupplier.DataBind();
        }
        protected void GetBookingSearch()
        {
            BookingGuestRpt bgr = new BookingGuestRpt();

            bgr.FromDate = txtFromDate.Text;
            bgr.ToDate   = txtToData.Text;
            bgr.AgentId  = Convert.ToInt32(ddlAgents.SelectedValue);
            bgr.Status   = Convert.ToInt32(ddlStatus.SelectedValue);
            lstbgr       = objRBL.GetAllReportById(bgr).ToList();
            //gdvBbyAgents.DataSource = lstbgr;
            //gdvBbyAgents.DataBind();
        }
 public IEnumerable <BookingGuestRpt> GetCheckinReportById(BookingGuestRpt bg)
 {
     return(objReportDA.CheckinReportAll(2, bg));
 }
 public IEnumerable <BookingGuestRpt> GEtCheckinReportAll(BookingGuestRpt bg)
 {
     return(objReportDA.CheckinReportAll(1, bg));
 }
 public IEnumerable <BookingGuestRpt> GetAllReports(BookingGuestRpt bg)
 {
     return(objReportDA.BookingReportAll(1, bg));
 }
 public IEnumerable <BookingGuestRpt> GetAgentsById(BookingGuestRpt bg)
 {
     return(objReportDA.RequestReportAllAgents(2, bg));
 }
 public IEnumerable <BookingGuestRpt> GetSupplierById(BookingGuestRpt bg)
 {
     return(objReportDA.RequestReportAll(2, bg));
 }