Asp.Net中继器广告 [英] Asp.Net Repeater Advertisement

查看:75
本文介绍了Asp.Net中继器广告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我很好奇这个话题。一些网站这样做。他们有转发器控制,并在转发器控制中显示广告。



例如;

- 数据1

- 数据2

- 数据3

- 广告

- 数据4

- 数据5

...



我该怎么办?使用item_databound?或类似的东西?如何在我的帖子之间显示我的广告。



非常感谢,我希望我可以正确地提出我的问题:)

Hi,

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 :)

推荐答案

我想应该可以将广告隐藏到数据绑定项目的集合中 - 您只需准备列表/集合/任何您想要包含正确广告数据的广告。例如,如果您有一个论坛帖子列表,您必须隐藏生成的论坛帖子,其中包含不同的内容,这可能是一个广告。
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.


这篇关于Asp.Net中继器广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆