Hi
Based on the code below how would I get the data item "Address1", for instance, not to show if the value in it was "n/a or empty"? I would also prefer that a gap was not left in its place if possible. Any help appreciated.
Thanks.
Based on the code below how would I get the data item "Address1", for instance, not to show if the value in it was "n/a or empty"? I would also prefer that a gap was not left in its place if possible. Any help appreciated.
Thanks.
Code:
<HTML>
<HEAD>
<title>mem_memberid_address</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="[URL unfurl="true"]http://schemas.microsoft.com/intellisense/ie5"[/URL] name="vs_targetSchema">
</HEAD>
<body>
<h2><asp:Label id="lblTitle" runat="server"></asp:Label></h2>
<br>
<asp:Repeater id="Repeater1" runat="server">
<ItemTemplate>
<%#Container.Dataitem("Address1")%>
<br>
<%#Container.Dataitem("Address2")%>
<br>
<%#Container.Dataitem("Address3")%>
<br>
<%#Container.Dataitem("Address4")%>
<br>
<%#Container.Dataitem("Postcode")%>
<br>
<br>
<br>
Home Telephone:
<%#Container.Dataitem("Telephone")%>
<br>
etc...