I am trying to color individual cells on a datagrid. I am unsure whether you actually can or not but here is what i have. I have a datagrid that gets filled by a dataset upon form loading. I also search the cells one by one for the number 376 and I am trying to color those cells. I can get it to color rows but not a cell. If it cannot be done, or you know of another control that would allow for something like this, please let me know. Here is the code.

VB Code:
  1. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  2.         SqlDataAdapter1.Fill(DataSet11)
  3.         Dim x As Integer
  4.         Dim y As Integer
  5.         Dim CellData As String
  6.         x = 4
  7.         y = 4
  8.         While x < 7
  9.             While y < 7
  10.  
  11.                 CellData = DataGrid1.Item(x, y) & ""
  12.  
  13.                 If CellData = "" Then
  14.                     y = y + 1
  15.                 Else
  16.                     If CellData = "376" Then
  17.                         DataGrid1.BackgroundColor = System.Drawing.Color.Blue
  18.                     End If
  19.                     y = y + 1
  20.                 End If
  21.  
  22.             End While
  23.             y = 4
  24.             x = x + 1
  25.         End While
  26.  
  27.     End Sub