for(int i=0;i< dt.Rows.Count;i++)
            {   
                if (int.Parse(this.DataGridView.Rows[i].Cells["Num"].Value.ToString())<10)                {
                    this.DataGridView.Rows[i].DefaultCellStyle.ForeColor = Color.Red;
                }            }