Home > ASP.NET > Repeater control with multiple columns

Repeater control with multiple columns


<asp:Repeater ID=”rptimages” runat=”server”>
<table border=”0″ cellpadding=”5″ cellspacing=”0″ width=”100%” style=”border-spacing: 0px;”>

<%#If((Container.ItemIndex <> 0 AndAlso Container.ItemIndex Mod 3 = 0), “</tr><tr>”, String.Empty)%>
<td align=”center”>
<asp:Image ID=”imghotel” class=”cellBorder” runat=”server” Style=”width: 100px; height: 90px;
margin: 0px; padding: 0px;” />
</tr> </table>

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: