You are receiving the Customer Status from previous page then you are passing it again to next page. I would like to suggest you to use Session for this.
For your QueryString:
You need to check your QueryString whether it having some value or not:
private string Name
{
get
{
return Server.UrlDecode(Request.QueryString["Name"]);
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!this.IsPostBack)
{
this.lblName.Text = this.Name;
}
}
This way you can pass value in Response.Redirect.
C#:
protected void PassValue(object sender, EventArgs e)
{
Response.Redirect(string.Format("~/Page2.aspx?Name={0}", this.lblName.Text));
}
Thank You.