protected void btnUpdate_Click(object sender, EventArgs e)
    {
        try
        {
            objBAL = new ClsBAL();
            objBAL.bookingId = Convert.ToInt32(lblID.Text);
            objBAL.status = ddlDeliveryStatus.SelectedItem.Text;
            objBAL.deliveredBy = txtdeliveredBy.Text;
            objBAL.amountrecievedBy = txtMnyCollectedBY.Text;
            if (objBAL.UpdateHMDeliveryStatus())
            {
                tdmsg.Visible = true;
                tdmsg.Style.Add("background-color:#6CC417;", "");
                lblMainMsg.Text = "Pay Info Updated Successfully...";
                lblMainMsg.ForeColor = System.Drawing.Color.Green;
                GetHomeDeliveries();
                MVHomedelivery.ActiveViewIndex = 0;
            }
            else
            {
                tdmsg.Visible = true;
                tdmsg.Style.Add("background-color:#E77471;", "");
                lblMainMsg.Text = "   OOPs Falied to update...";
                lblMainMsg.ForeColor = System.Drawing.Color.Maroon;

            }
        }
        catch (Exception ex)
        {

            throw ex;
        }
    }