title: Blank Gridview Cell populates "&nbsp" into textbox
body: <p>I've noticed that when i populate textboxes from a selected row in a gridview that if the field is blank it displays "&amp;nbsp" in the textbox.</p>
  
  <p>Here is the solution I came up with.  I check each cell before adding it to the textbox.</p>
  
  <p>I get the feeling that I'm either doing something wrong to have this problem in the first place or that there is a better way to handle this.    </p>
  
  <pre><code>protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
  {
  
      //// Get the currently selected row using the SelectedRow property.
      GridViewRow row = GridView1.SelectedRow;
  
      // Load data from selected row into textboxes
      if (row.Cells[1].Text.Trim() != "&amp;nbsp;")
      {
          txtEditCust_ID.Text = row.Cells[1].Text.Trim();
      }
  
  
  
  
  }
  </code></pre>