mangeloni
12-19-2002, 01:36 AM
I know that to hide empty data fields (ASP, JS)...
<% if (rsName.Fields.Item("extension").Value != null) { %>
<TR>
<TD>Extension</TD>
<TD><%=(rsName.Fields.Item("extension").Value)%></TD>
</TR>
<% } %>
However, I am not getting the data from a Record Set but from a Session Variable - is there a way to modify the above code to accomodate this or is there other code altogether?
(Using UltraDev)
Thanks!
-MVA
<% if (rsName.Fields.Item("extension").Value != null) { %>
<TR>
<TD>Extension</TD>
<TD><%=(rsName.Fields.Item("extension").Value)%></TD>
</TR>
<% } %>
However, I am not getting the data from a Record Set but from a Session Variable - is there a way to modify the above code to accomodate this or is there other code altogether?
(Using UltraDev)
Thanks!
-MVA