母版页中有多个adrotator,重复相同的广告 [英] multiple adrotators in master page, repetition of same ad
本文介绍了母版页中有多个adrotator,重复相同的广告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个母版页,该母版页使用System.Web.UI.WebControls.AdRotator的5个实例,每个实例均由广告元素的相同Sqldatasource文件支持.
问题是有时同一广告会在给定的瞬间出现在2个或多个AdRotator中.
解决方案
在每个广告旋转器中放置不同的广告? >I''ve created a master page that uses 5 instances of System.Web.UI.WebControls.AdRotator each backed by the same Sqldatasource file of ad elements.
The problem is on occasion the same ad will appear in 2 or more of the AdRotators at a given instant.
What''s the best way to make the ads presented at any given time unique?解决方案Put different ads in each ad rotator ?
这篇关于母版页中有多个adrotator,重复相同的广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文