VB Code:
<%If Not DataBinder.Eval(Container.DataItem, "Discontinued") = True Then%> <a href="placeOrder.aspx?ProdID=<%# DataBinder.Eval(Container.DataItem,"ProductID")%>" style="text-decoration: none;">Order Now</a> <%Else%> Discontinued <%End If%>
that code will not run. How do I get the same effect? I can't find away to get the data I need inside an if block....... I'm Using a Repetear bound to a DataSet and everything works fine if i take out the if block but I need it.....
Thanks for any help you guys.




Reply With Quote