Hi
I want to alternate the color of the cells by column rather than row, but this depends on the content of the cell.
How do I reference the column in the itemdatabound? This is what I've got so far...
If e.Item.Cells(i).Text = "Empty" Then
'If column is even then use css Even, else use css odd
end if
Cheers
Lbob
I want to alternate the color of the cells by column rather than row, but this depends on the content of the cell.
How do I reference the column in the itemdatabound? This is what I've got so far...
If e.Item.Cells(i).Text = "Empty" Then
'If column is even then use css Even, else use css odd
end if
Cheers
Lbob