Back Colour for a DataGrid row in ASP.NET with VB.Net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MindofZiggi
    New Member
    • Jul 2008
    • 1

    Back Colour for a DataGrid row in ASP.NET with VB.Net

    Hi,

    How can I change the BackColor of a row in am ASP.NET dataGrid using a VB Function. My data table in not data bound but I do populate it from a function, it has 4 columns (Title, upload Icon, Comment Icon, Score). Score is a number between 1 and 4, when it is 4 I want the background colour to change.

    In truth I am not using VB but APL.NET (Dyalog apl) which I guess not many people have come across, but if someone could show me how to do in in VB.net or even C# I should be able to convert it.

    Help Please
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

    Try this :

    MyDataGrd.BackC olor = Drawing.Color.A qua

    Regards
    Veena

    Comment

    Working...