title: show text in a textbox in visual c#
body: <p>I am getting information from an array and displaying the results in a text box on the form. The value doesn't get displayed in the UI, but it says that it has the value assigned.</p>
  
  <pre><code>try
  {
      foreach (string r in Rows)
      {
          string[] h = new string[5];
          h = r.Split(',');
          MessageBox.Show(h[0]);
          // need to show the first record
          House newhouse = new House();
  
          newhouse.ID = Convert.ToInt32(h[0]);
          newhouse.Address = Convert.ToString(h[1]);
          newhouse.Type = Convert.ToChar(h[2]);
          newhouse.Cost = Convert.ToInt32(h[3]);
          newhouse.Sold = Convert.ToString(h[4]);
  
          loadedHouses.Add(newhouse);
  
          ID_Number.Text = Convert.ToString(h[0]);
          address1.Text = Convert.ToString("g");
          type1.Text = Convert.ToString(h[2]);
          cost1.Text = Convert.ToString(h[3]);
          sold1.Text = Convert.ToString(h[4]);
          MessageBox.Show("dewdwedw");
      }
  }
  catch (Exception qq)
  {
      Console.WriteLine("{0} Exception caught.", qq);
  }
  </code></pre>
  
  <p>When you hover over <code>ID_Number</code> while debugging, it says the value should be 1 but it doesn't show up in the form. Can anyone help?</p>