1
Answer

what is an clean Architecture?

Photo of Madhu Patel

Madhu Patel

1y
55
1

what is an clean Architecture?

Answers (1)

0
Photo of nikshukla
NA 37 0 18y
Check ItemDataBound event of the grid.

i.e.

If e.Item.ItemType = ListItemType.Item OR e.Item.ItemType == ListItemType.AlternatingItem then

      Dim lbl as Label = e.Item.Cell(1).FindControl("YourLabelControl")

      Dim str as String = lbl.Text

      Select Case str
            Case "YES/YES"

                 e.Item.Cells(1).BackColor = Color.Green

            Case "NO/NO"

                 e.Item.Cells(1).BackColor = Color.Red

      End Select
End If

Hope this helps.

Regards,