Click here to Skip to main content
14,766,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I'm curious about this topic. Some of websites do that. They have repeater control and in repeater control they show advertisement.

For example;
- Data 1
- Data 2
- Data 3
- Advertisement
- Data 4
- Data 5

How can i do that. With item_databound? or something like that? How can i show my advertisement between my posts.

Thanks a lot, i hope i could ask my question right :)

1 solution

I guess it should be possible to sneak in advertisements into a collection of databound items - You only would have to prepare the List/Collection/whatever you want to have advertisements included with the correct advertisement data. For example, If you have a list of forum posts, you'd have to sneak in generated forum posts with a different content, which could be an advertisement.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900