hankknight
asked on
ASP.NET/VB: If 0 or >5
I use this ASP.NET VB code to do something if ItemIndex equals 0:
I want it to do something if ItemIndex equals 0 OR if ItemIndex is larger than 5.
This does NOT work:
<%# IIf ( Container.ItemIndex = 0, "<strong>", "")%>
I want it to do something if ItemIndex equals 0 OR if ItemIndex is larger than 5.
This does NOT work:
<%# IIf ( Container.ItemIndex = 0 || Container.ItemIndex > 5, "<strong>", "")%>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.