Professional Documents
Culture Documents
If isManager = "1"Then
' Set the text and background color.
e.Item.Cells(2).Text = "Manager"
e.Item.BackColor = System.Drawing.Color.AliceBlue
Else
' Set the text only.
e.Item.Cells(2).Text = "Employee"
EndIf
EndIf
EndSub
==================================================================================
===========