Пример #1
0
        protected void txtBookingNo_TextChanged(object sender, EventArgs e)
        {
            DataSet ds = new DataSet();

            ds = ReportBLL.GetBooking(txtBookingNo.Text);
            hdnBookingNo.Value = Convert.ToString(ds.Tables[0].Rows[0]["pk_BookingID"]);
            ActionOnBookingChange();
        }
Пример #2
0
        protected void txtBookingNo_TextChanged(object sender, EventArgs e)
        {
            if (txtBookingNo.Text != string.Empty)
            {
                DataSet ds = new DataSet();
                ds = ReportBLL.GetBooking(txtBookingNo.Text);
                hdnBookingNo.Value = Convert.ToString(ds.Tables[0].Rows[0]["pk_BookingID"]);
            }
            IBooking oIH = BookingBLL.GetBookingById(Convert.ToInt32(hdnBookingNo.Value.Trim()));

            lblBookingParty.Text = oIH.CustomerERAS;
            lblVessel.Text       = oIH.VesselName;
            lblVoyage.Text       = oIH.VoyageNo;
            lblPOD.Text          = oIH.POD;
            lblFPOD.Text         = oIH.FPOD;
        }