Disclaimer: I'm new
I have a label that works OK using the following:
<asp:label id="alternateAccountNumberLabel" style="Z-INDEX: 123; LEFT: 472px; POSITION: absolute; TOP: 64px" runat="server"
Width="80px" Text='<%# DataBinder.Eval(account, "Tables[account].DefaultView.[0].alternate_account_number") %>'
ToolTip="Alternate Account Number"></asp:label>
What I would like to do is make this label invisible if the Databinder.Eval portion evaluates to null. I'm not sure if this would be easier here, inline, or in the code behind page,
In English:
if '<%# DataBinder.Eval(account, "Tables[account].DefaultView.[0].alternate_account_number") %>' is not null then asp:label visible = true else false.
If anyone could help me out I would appreciate it.
Thanks