protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindCategory(); if (!string.IsNullOrEmpty(Request.QueryString["PolicyId"])) { int PlicyId = Convert.ToInt32(_objBOUtiltiy.Decrypt(Request.QueryString["PolicyId"], true)); GetPolicy(Convert.ToInt32(PlicyId)); cmdSubmit.Text = "Update"; } } }
protected void Page_Load(object sender, EventArgs e) { if (Session["loginId"] == null) { Response.Redirect("../SalesLogin.aspx"); } CurrencyCode = _objBOUtiltiy.Currencycode(); if (!IsPostBack) { if (Request.QueryString["reqstId"] != null) { int RequestId = Convert.ToInt32(_objBOUtiltiy.Decrypt(Request.QueryString["reqstId"], true)); GetHotelRequestDetails(RequestId); } } }
protected void Page_Load(object sender, EventArgs e) { if (Session["loginId"] == null) { Response.Redirect("../SalesLogin.aspx"); } try { if (Request.QueryString["reqstId"] != null) { int RequestId = Convert.ToInt32(_objBOUtiltiy.Decrypt(Request.QueryString["reqstId"], true)); PrintHotelTicket(RequestId); } } catch (Exception ex) { _objBOUtiltiy.ShowMessage("danger", "Error", ex.Message); } }