Author: knutsford-software | Posted on: 4/2/2010 3:56:31 AM | Views : 246

I want to have the most popular styles in a dropdown list in black and the
rest in Grey. I am using visual basic dotnet 1.1

This is my code

For Each objStyle In .Styles
            Dim liStyle As New ListItem
            liStyle.Text = objStyle.Name
            liStyle.Value = objStyle.ID
            If (.StylesMostPopular(Index).Most_Popular = 1) Then
                    liStyle.Attributes.Add("style", "color:black")
            Else
               &nb ...

Go to the complete details ...