using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; namespace DSWeb.Settlements { public partial class CommonPaySettlement : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (h_feecache.Value.Trim().Length > 1) { if (Session["paysettlesession"] != null) { Session.Remove("paysettlesession"); if (!h_feecache.Value.Trim().Equals("")) { Session["paysettlesession"] = h_feecache.Value; h_sessionid.Value = "1"; } else { h_sessionid.Value = "0"; } } else { if (!h_feecache.Value.Trim().Equals("")) { Session["paysettlesession"] = h_feecache.Value; h_sessionid.Value = "1"; } else { h_sessionid.Value = "0"; } } Page.ClientScript.RegisterStartupScript(this.GetType(), "key", ""); } } } }