GridView

Hi Everyone,
I have created a gridview with 3 cols successfully. 1st is the S.no and 2,3 contains Dates. It has 12 rows. Now i want to highlight a cell in the 2nd column which satisfies a cond. This is my Code

if e::Row::Cells[1]::Text = "mycondvar"
then 
  set e::Row::font::Bold to false
else
  set e::Row::font::Bold to true.

It is always setting to True. Even when I set a breakpoint i am not able to view the value in Cells[1]. I am totally stuck, is my syntax correct ?
Kindly help me with this . Thanks