You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.8 KiB
C#

using System;
using System.Collections;
using System.Configuration;
using System.Data;
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.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using DSWeb.Models;
using DSWeb.EntityDA;
namespace DSWeb.Settlements
{
public partial class CommonSettlement : System.Web.UI.Page
{
private string strHandle;
private string strCustomerName;
private string strVerifyCacheName;
private string strVerifyCurrency;
protected void Page_Load(object sender, EventArgs e)
{
//if (h_feecache.Value.Trim().Length > 1)
//{
// if (Session["feesession"] != null)
// {
// Session.Remove("feesession");
// if (!h_feecache.Value.Trim().Equals(""))
// {
// Session["feesession"] = h_feecache.Value;
// h_sessionid.Value = "1";
// }
// else
// {
// h_sessionid.Value = "0";
// }
// }
// else
// {
// if (!h_feecache.Value.Trim().Equals(""))
// {
// Session["feesession"] = h_feecache.Value;
// h_sessionid.Value = "1";
// }
// else
// {
// h_sessionid.Value = "0";
// }
// }
// Page.ClientScript.RegisterStartupScript(this.GetType(), "key", "<script>openDialog();</script>");
//}
if (Request.QueryString["handle"] != null)
{
strHandle = Request.QueryString["handle"].ToString().Trim().ToLower();
this.h_handle.Value = strHandle;
}
if (Request.QueryString["cus"] != null)
{
UnicodeEncoding unicode = new UnicodeEncoding();
strCustomerName = unicode.GetString(unicode.GetBytes(Regex.Unescape(Request.QueryString["cus"].ToString())));
h_customer.Value = strCustomerName;
}
if (Request.QueryString["verifycache"] != null)
{
strVerifyCacheName = Request.QueryString["verifycache"].ToString();
h_verifycache.Value = strVerifyCacheName;
}
if (Request.QueryString["cur"] != null)
{
strVerifyCurrency = Request.QueryString["cur"].ToString();
h_verifycur.Value = strVerifyCurrency;
}
}
}
}