VB Code:
  1. <%If Not DataBinder.Eval(Container.DataItem, "Discontinued") = True Then%>
  2. <a href="placeOrder.aspx?ProdID=<%# DataBinder.Eval(Container.DataItem,"ProductID")%>" style="text-decoration: none;">Order Now</a>
  3. <%Else%>
  4. Discontinued
  5. <%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.