error in code Highlight some field DataGridView
<p>I submit information to a DB from a combobox in C#.NET, I want information special example (COST) in DataGridView to show in the shape of a high light . Please examine the attached Code.</p>

<p>I am using code for program but error in uni code, error: not found column Name , but name Field in DB set With Combo Box !</p>

<pre><code> private void cmb_estekhdam_driver_SelectedIndexChanged(object sender, EventArgs e)
 {
      Color col = Color.Empty;
      string n_estekhdam = null;

        switch (cmb_estekhdam_driver.SelectedItem.ToString())
        {
            case "Daem":

                col = Color.GreenYellow;
                n_estekhdam = "Daem";
                break;
            case "Gharar":
                col = Color.GreenYellow;
                n_estekhdam = "Gharar";
                break;
            case "Rooz":
                col = Color.GreenYellow;
                n_estekhdam = "Rooz";
                break;
        }

        this.DGV_driver.ClearSelection();
        this.PaintRows(col, n_estekhdam);
    }

    private void PaintRows(Color backColor, string n_estekhdam)
    {
       foreach (DataGridViewRow row in DGV_driver.Rows)
        {
            if (row.Cells["estekhdam"].Value.ToString() == n_estekhdam)
            {
                row.DefaultCellStyle.BackColor = backColor;
            }
            else
            {
                row.DefaultCellStyle.BackColor = Color.WhiteSmoke;
            }
        }
    }
</code></pre>
