ASP.NET ListView: how to insert "particular" item each N items ?

Posted by stighy on Stack Overflow See other posts from Stack Overflow or by stighy
Published on 2010-05-11T21:38:00Z Indexed on 2010/05/11 21:44 UTC
Read the original article Hit count: 250

Filed under:
|

Hi at all, i would like to do a "weird" thing with the asp.net listview control.

I would like to insert advertising each 8-10 item of the listview (databounded with a database table) : for example each 8-10 item insert the google adwords jscript code.

I've googoled but i haven't found anything. Someone know if it's possible to "tell the listview: each 8 items, show this item (google jscript code).

Excuse me for my poor english. Hope to be explained, thanks!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about listview