title: GridView Cell selection from Filtered Row
body: <p>I am having troubles with Gridview in C#. </p>
  
  <p>On the disposed table, I apply filtering (i.e. by id) and returns the row by the desired ID. What I am trying to do is get the value of a cell of the returned row and then display it in an independed textbox. Any ideas?</p>
  
  <p>this is the code I use for filtered results:</p>
  
  <pre><code>private void txtSearchExpr_TextChanged(object sender, EventArgs e) 
  { 
      if (!string.IsNullOrEmpty(txtSearchExpr.Text)) 
      { 
          dataGridEmpList.DataSource = MyExcel.FilterEmpList(cmbSearch.Text.ToString(), txtSearchExpr.Text.ToLower());
      } 
      else 
      { 
          dataGridEmpList.DataSource = MyExcel.PatientList; 
      }
  } 
  </code></pre>
  
  <p>Thank you in advance :)</p>