'Bind the data Me.DataGrid1.DataSource = goView Page.DataBind() Dim iRow As Integer Dim iCol As Integer Dim iRows As Integer Dim iColumns As Integer Dim lcColText As String iRows = goView.Table.Rows.Count iColumns = goView.Table.Columns.Count 'Loop through the rows and set colors For iRow = 1 To iRows - 1 DataGrid1.CurrentPageIndex = iRow For iCol = 1 To iColumns - 1 ' Update the individual cell for each Row ' If cell text =0 then green otherwise red lcColText = DataGrid1.Columns(iCol).ToString If Val(lcColText) = 0 Then DataGrid1.Columns(iCol).ItemStyle.BackColor = Color.Green Else DataGrid1.Columns(iCol).ItemStyle.BackColor = Color.Red End If Next NextThanks for any help.