TomGibbons
Jul 1st, 2005, 11:34 AM
I have the following in my ItemTemplate: <div style="font-size: 7pt; font-style: italic; text-align: right;">
Added by <%# DataBinder.Eval(Container.DataItem, "addedbyname")%> @ <%# DataBinder.Eval(Container.DataItem, "added") %><br />
Modified by <%# DataBinder.Eval(Container.DataItem, "updatedbyname") %> @ <%# DataBinder.Eval(Container.DataItem, "updated") %>
</div>
Is there any way to hide the 'Modified By... ' line if 'updated' and 'added' are the same? If so, how?
Thanks :wave:
Added by <%# DataBinder.Eval(Container.DataItem, "addedbyname")%> @ <%# DataBinder.Eval(Container.DataItem, "added") %><br />
Modified by <%# DataBinder.Eval(Container.DataItem, "updatedbyname") %> @ <%# DataBinder.Eval(Container.DataItem, "updated") %>
</div>
Is there any way to hide the 'Modified By... ' line if 'updated' and 'added' are the same? If so, how?
Thanks :wave: