Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.
Do more with
<style type="text/css">
.optred{background-color:red;}
.optblue{background-color:blue;}
</style>
Protected Sub Page_PreRender(sender As Object, e As EventArgs)
Dim flag As Boolean = False
For Each li As ListItem In ListBox1.Items
If flag Then
li.Attributes.Add("class", "optred")
flag = False
Else
li.Attributes.Add("class", "optblue")
flag = True
End If
Next
End Sub
Premium Content
You need an Expert Office subscription to comment.Start Free Trial