Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About johnzette

  • Rank
  • Birthday 11/10/1981

Previous Fields

  • Languages
    VB/C#, ASP.NET & PHP

Contact Methods

  • Website URL
  • ICQ
  • Yahoo

Profile Information

  • Interests
    Application & Web Development
  1. johnzette

    How To Start Asp.net?

    msdn.microsoft.comfor basic programming language overview (VB/C#) with Web Development video tutorials.hope you like it :)goodluck!
  2. Source View:<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %><!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>AdRotator Control</title></head><body> <form id="form1" runat="server"> <div> <asp:AdRotator ID="AdRotator1" runat="server" AdvertisementFile="~/App_Data/Ads.xml" Style="z-index: 100; left: 9px; position: absolute; top: 10px" /> </div> </form></body></html>XML File:<?xml version="1.0" encoding="utf-8" ?><Advertistments> <Ad> <ImageUrl>~/Images/cbtnuggets.gif</ImageUrl> <NavigateUrl>http://www.link1.com</NavigateUrl> <AlternateText>Link 1 Homepage</AlternateText> <Impressions>50</Impressions> <Keyword>Link 1</Keyword> </Ad> <Ad> <ImageUrl>~/Images/logo_black_gold.gif</ImageUrl> <NavigateUrl>http://www.link2.com</NavigateUrl> <AlternateText>Link 2 Homepage</AlternateText> <Impressions>75</Impressions> <Keyword>Link 2</Keyword> </Ad></Advertistments>My Problem:I set the AdvertistmentFile Property of AdRotator1 to my xml file, my problem is when i run the code the error is: The AdRotator AdRotator1 could not find the AdvertisementFile or the file is invalid.IDE i used is VS 2005
  • Create New...