protected void btnWelcomeLetter_Click(object sender, EventArgs e)
    {
        Reservation_Payments rp = new Reservation_Payments();

        rp.Reservation_ID = SqlInt32.Parse(hidReservationId.Value);
        //  rp.SelectOne();

        DataTable resevePay = rp.GetReservationPayment();

        Session["welcomeLetter"] = resevePay;
        string popupScript = "<script language='javascript'>" +
                             "window.open('Welcome.aspx','ThisPopUp1', " +
                             "'left = 300, top=150,  " +
                             "menubar=no, scrollbars=yes, resizable=yes')" +
                             "</script>";

        Page.ClientScript.RegisterStartupScript(GetType(), "PopupScript", popupScript);
    }
    protected void btnPrintReservationConfirm_Click(object sender, EventArgs e)
    {
        if (Request.QueryString["Reservation_ID"] != null)
        {
            reservationId          = Request.Params["Reservation_ID"] != null || Request.Params["Reservation_ID"] != "" ? Int32.Parse(Request.Params["Reservation_ID"].ToString()) : 0;
            hidReservationId.Value = reservationId.ToString();
        }
        Reservation_Payments pay = new Reservation_Payments();

        pay.Reservation_ID = SqlInt32.Parse(hidReservationId.Value.ToString());
        DataTable resevePay = pay.GetReservationPayment();

        Session["resevePay"] = resevePay;
        string popupScript = "<script language='javascript'>" +
                             "window.open('ReservConfirm.aspx','ThisPopUp12', " +
                             "'left = 300, top=150,  " +
                             "menubar=no, scrollbars=yes, resizable=yes')" +
                             "</script>";

        Page.ClientScript.RegisterStartupScript(GetType(), "PopupScript", popupScript);
        return;
    }