hi
i attempted to do this but when the cell was blank and this is the code i used, first i had to do
Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound
then i had to add the code
If (e.Row.Cells(1).Text = "" Or e.Row.Cells(1).Text = " ") Then
e.Row.Cells(1).BackColor = System.Drawing.Color.Salmon
importButtonEnabled = False
End If
row.cell(1) was the second column in the datagrid
so for a guess your code maybe something like
If (e.Row.Cells(1).Text = "certain value") Then
e.Row.Cells(1).BackColor = System.Drawing.Color.colour of your choice importButtonEnabled = False
End If
hope this helps some what