I want to insert Google ads on a asp.net repeater on the 3rd iteration. I'm trying to figure out how to do this, here is what I have. Thanks for your help
<asp:Repeater ID="Repeater1" runat="server" >
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<div class="Pl">
<%# int i=0; if(i!=3){ %>
<div class="PlFoto">
//display content
</div>
<%# ++i;} else {%>
//display Google ads
<%# ++i;}%>
</div>
</ItemTemplate>
</asp:Repeater>