title: null value in asp.net page.items
body: <p>I have an asp.net page with behind C# code.
  I add a page Item in main page. then I used some web user control.
  In one of them, when I use this Item in page_load. it has correct value, but when I use it in another private function in same web control, it has null value!
  then I prefered to use a public string and set the value of that Item in it. but not working too.</p>
  
  <pre><code>public string ReqID0;
  string Status0 { get; set; }
  string Status = "";
  
  string ConnectionString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
  SqlConnection sqlc4;
  protected void Page_Load(object sender, EventArgs e)
  {
      if (!this.IsPostBack)
      {
          ReqID0 = Page.Items["ReqID"].ToString();
          ReqIDLbl.Text = ReqID0;
  ...
  </code></pre>
  
  <p>second function (method) is:</p>
  
  <pre><code>    private void Change_Status(string newStatus)
      {
  
          //ReqID0=Page.Items["ReqID"].ToString();
  
          sqlc4 = new SqlConnection(ConnectionString);
          SqlCommand cmd = new SqlCommand();
          cmd.CommandType = CommandType.Text;
          cmd.CommandText = "UPDATE Request SET Status=@newStatus WHERE ID=@ReqID";
          cmd.Parameters.AddWithValue("@newStatus", newStatus);
          cmd.Parameters.AddWithValue("@ReqID", ReqID0);
  
  
          cmd.Connection = sqlc4;
          sqlc4.Open();
          cmd.ExecuteNonQuery();
          sqlc4.Close();       
  }
  </code></pre>