Hello...
I assign a variable from the querystring to a class level private variable
as follows
public class CrsInstnc : System.Web.UI.Page {
private string tcoRef = "";
private void Page_Load(object sender, System.EventArgs e) {
if(!IsPostBack){
if(Request.QueryString["ref"] != null){
this.tcoRef = Request.QueryString["ref"].ToString();
}
...
}
}
Every time the page posts back to itself the variable this.tcoRef is empty.
Am I doing something wrong? When the page posts back to itself does the
whole class start from scratch? Should I store the information elsewhere?
Thanks