hi all

in my code bind im populating a repeater via dataset and calling values using

VB Code:
  1. <%# DataBinder.Eval(Container, "DataItem.control") %>

i wish to display a button so depending on the value of control (bit value i.e. 0 = false 1 = true)

so something like (not real code just to show what i wana do)

<% if # DataBinder.Eval(Container, "DataItem.control") = 1 then
<img src="buttontrue.jpg">
<%else%>
<img src="buttonfalse.jpg">
<%end if%>