G
Guest
Hi
I have bound data to a Repeater control. How can I do something like this
(below is the desired logic only, it doesn't actually work):
<ItemTemplate>
<%if (Convert.ToBoolean(DataBinder.Eval(Container.DataItem, "IsShowImage")))
{%>
<img src="image.jpg" />
<%}%>
<ItemTemplate>
Rasika.
I have bound data to a Repeater control. How can I do something like this
(below is the desired logic only, it doesn't actually work):
<ItemTemplate>
<%if (Convert.ToBoolean(DataBinder.Eval(Container.DataItem, "IsShowImage")))
{%>
<img src="image.jpg" />
<%}%>
<ItemTemplate>
Rasika.