ASP.NET 中 AdRotator(广告控件)的使用
来源:互联网 发布:linux下好用的输入法 编辑:程序博客网 时间:2024/04/28 22:44
ylbtech-asp.net:AdRotator(广告控件)
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
ASP.NET 中 AdRotator(广告控件)的使用。
1.A,控件-AdRotator(广告控件)返回顶部 AdRotator服务器控件 属性 描述 ImageUrl 图像文件的绝对路径或相对地址 NavigateUrl 当图像被点击时,可访问相应的网页 AlternateText 当鼠标移动到图片上方时,将显示的提示信息 keyword 指定广告的分类,我们可以利用此属性来对广告条进行分类 Impressions 指定图片在表格中的大小 1.B,运用实例返回顶部/Ad/X.jpg 图片位置
/Intro.xml 广告信息编写(格式及规范)
View Code
<?xml version="1.0" encoding="utf-8" ?><Advertisements> <Ad> <ImageUrl>Ad/1.jpg</ImageUrl> <NavigateUrl>http://www.baidu.com</NavigateUrl> <AlternateText>欢迎访问百度1</AlternateText> <Keyword>百度</Keyword> <Impressions>80</Impressions> </Ad> <Ad> <ImageUrl>Ad/2.jpg</ImageUrl> <NavigateUrl>http://www.163.com</NavigateUrl> <AlternateText>欢迎访问网易2</AlternateText> <Keyword>网易</Keyword> <Impressions>80</Impressions> </Ad> <Ad> <ImageUrl>Ad/3.jpg</ImageUrl> <NavigateUrl>http://www.baidu.com</NavigateUrl> <AlternateText>欢迎访问百度2</AlternateText> <Keyword>百度</Keyword> <Impressions>80</Impressions> </Ad> <Ad> <ImageUrl>Ad/4.jpg</ImageUrl> <NavigateUrl>http://www.163.com</NavigateUrl> <AlternateText>欢迎访问网易3</AlternateText> <Keyword>网易</Keyword> <Impressions>80</Impressions> </Ad></Advertisements>
/Intro.aspx 调用
View Code
1.C,资源下载返回顶部 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Intro.aspx.cs" Inherits="Advanceapp_Intro" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> <h3>AdRotator和XML控件结合</h3> <h3>广告条演示</h3> <asp:AdRotator ID="AdRotator1" runat="server" AdvertisementFile="~/Intro.xml" BackColor="Black" BorderWidth="1"/> </div> </form></body></html>
http://files.cnblogs.com/ylbtech/webform-AdRotator.rar
作者:ylbtech出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
<script type="text/javascript"><!--google_ad_client = "ca-pub-1944176156128447";/* cnblogs 首页横幅 */google_ad_slot = "5419468456";google_ad_width = 728;google_ad_height = 90;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- ASP.NET 中 AdRotator(广告控件)的使用
- ASP.NET 中 AdRotator(广告控件)的使用
- asp.net的广告控件Adrotator的使用
- ASP.NET--Adrotator广告控件中XML文件的格式
- ASP.NET中广告控件AdRotator的使用方法
- ASP.NET中广告控件AdRotator的使用方法。
- 在ASP.NET中使用AdRotator控件
- 在ASP.NET中使用AdRotator控件
- ASP.NET - 使用 AdRotator 控件显示和跟踪广告
- ASP.NET 2.0 中Adrotator控件用于管理网站的广告显示内容
- [.Net文摘]在ASP.NET中使用AdRotator控件(转)
- 在ASP.NET中使用AdRotator控件(转)
- asp.net AdRotator控件
- AdRotator控件的使用
- 使用 AdRotator 控件显示和跟踪广告
- 广告控件(AdRotator)
- 学习Adrotator广告控件
- 广告控件(AdRotator)使用方法
- Hello world
- poj 1159 Palindrome(最长回文子串)
- (5)模板方法模式
- Sum Root to Leaf Numbers
- 操作系统第二章作业
- ASP.NET 中 AdRotator(广告控件)的使用
- C++第4周项目2 - 三角形类2
- uva10282 - Babelfish(字典)
- codeforces 283,284(Round #174)题解
- QT 学习笔记 (一) 环境安装
- 做了个超级简单的mysql数据库demo
- C++第4周项目3 - 多文件组织程序
- 仿Iphone从屏幕底部弹出半透明的PopupWindow
- makefile 指定库的路径