<asp:ListView ID="ListViewName" runat="server" DataKeyNames="Id" >
<ItemTemplate>
<tr>
<td>
<asp:Label ID="champALabel" runat="server" Text='<%# Eval("champA") %>'></asp:Label>
<asp:Label ID="ChampBLabelAr" runat="server" Text='<%# Eval("ChampB") %>' Visible="false"></asp:Label>
</td>
<td>
<asp:LinkButton ID="LinkButton6" runat="server" CommandArgument='<%# Eval("Id") %>'
Visible="true">
<img alt="Image1" runat="server" id="Image1" src="/_layouts/MEF/images /DownloadIconSmall.jpg" />
</asp:LinkButton>
</td>
</tr >
</ItemTemplate>
<LayoutTemplate>
<table id="UserList" border="0" cellpadding="0" cellspacing="0">
<tr>
<th style="text-decoration: underline;width: 102%;color: rgb(109, 109, 109);">
<asp:Label ID="ChampALab" runat="server" Text="Tx2"></asp:Label>
</th>
<th style="text-decoration: underline;width: 102%;color: rgb(109, 109, 109);">
<asp:Label ID="ChampBLab" runat="server" Text="Tx"></asp:Label>
</th>
</tr>
<tr id="itemPlaceholder" runat="server"></tr>
</table>
</LayoutTemplate>
</asp:ListView>
<ItemTemplate>
<tr>
<td>
<asp:Label ID="champALabel" runat="server" Text='<%# Eval("champA") %>'></asp:Label>
<asp:Label ID="ChampBLabelAr" runat="server" Text='<%# Eval("ChampB") %>' Visible="false"></asp:Label>
</td>
<td>
<asp:LinkButton ID="LinkButton6" runat="server" CommandArgument='<%# Eval("Id") %>'
Visible="true">
<img alt="Image1" runat="server" id="Image1" src="/_layouts/MEF/images /DownloadIconSmall.jpg" />
</asp:LinkButton>
</td>
</tr >
</ItemTemplate>
<LayoutTemplate>
<table id="UserList" border="0" cellpadding="0" cellspacing="0">
<tr>
<th style="text-decoration: underline;width: 102%;color: rgb(109, 109, 109);">
<asp:Label ID="ChampALab" runat="server" Text="Tx2"></asp:Label>
</th>
<th style="text-decoration: underline;width: 102%;color: rgb(109, 109, 109);">
<asp:Label ID="ChampBLab" runat="server" Text="Tx"></asp:Label>
</th>
</tr>
<tr id="itemPlaceholder" runat="server"></tr>
</table>
</LayoutTemplate>
</asp:ListView>
Aucun commentaire:
Enregistrer un commentaire