protected void Page_Load(object sender, EventArgs e) { Microsoft.Practices.EnterpriseLibrary.Logging.Logger.Write("MasterCard-NwcDetail.Aspx page."); if (!IsPostBack) { url = Request.UrlReferrer.ToString(); divshow.Visible = false; div2.Visible = false; DataTable dtbankname = TransactionBOL.Select_BankNamenonwc(); if (dtbankname != null && dtbankname.Rows.Count > 0) { foreach (DataRow dr in dtbankname.Rows) { ddlbankname.Items.Add(new ListItem(dr[0].ToString(), dr[0].ToString())); } } } if (url == "http://localhost/KOD.Web_1/MasterCard-NwcPromotions.aspx") { Session["PROMOTIONMCOTHERS"] = "MCOTHERS"; } else { Microsoft.Practices.EnterpriseLibrary.Logging.Logger.Write("Redirect from other source."); Session["PROMOTIONMCOTHERS"] = null; } lblMsgPromotionCode.Visible = false; }
protected void Page_Load(object sender, EventArgs e) { Microsoft.Practices.EnterpriseLibrary.Logging.Logger.Write("Master card promotion(non world card start.)"); if (!IsPostBack) { lblMsgPromotionCode.Visible = false; DataTable dtbankname = TransactionBOL.Select_BankNamenonwc(); if (dtbankname != null && dtbankname.Rows.Count > 0) { foreach (DataRow dr in dtbankname.Rows) { ddlbankname.Items.Add(new ListItem(dr[0].ToString(), dr[0].ToString())); } } } }