How do I?



Trying to use a DataItem value in an if statement.

Cause it isn't a data binding expression..'Container' is not recognised.

Is there some other way i can get at this value???

It is contained within a Datalists item template.

<%If(IsDBNull(Container.DataItem("crbk_disabled_session_id"))) Then %>
<asp:ImageButton ID="ibtnDisableSession"
CommandName="DisableSession" Runat="server" ImageUrl="btnAdd.gif"/>
<% End If %>

Cheers,
Adam


.