title: Highlight the particular text inside a datagridview cell in c#windows application
body: <p>Does anyone know how to highlight or change the color of the particular text inside a datagridview cell? Not change the back or fore colors of the all cells, but only for a particular word inside the cell.I tried doing it in the Cell_Formatting event of the datagridview but I'm only seeing options to change color of the entire cells. </p>
  
  <p>my coding is:</p>
  
  <pre><code>private void Form1_Load(object sender, EventArgs e)
  {
      RowColor();
  }
  
  private void RowColor()
  {
      DataGridViewRow dgvr = dataGridView1.Rows[0];
      if (!string.IsNullOrEmpty(Convert.ToString(dataGridView1.Rows[0].Cells["status"].Value)))
      {
          if (dataGridView1.Rows[0].Cells["status"].Value != null)
          {
              dgvr.Cells["status"].Style.BackColor = Color.Red;
          }
      }
  }
  </code></pre>
  
  <p>thanks for advice.</p>
  
  <p><a href="http://i.stack.imgur.com/Wrmfu.png" rel="nofollow">my datagridview</a>ck.imgur.com/3lKFa.png)</p>