Click here to Skip to main content
15,921,841 members
Home / Discussions / C#
   

C#

 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
daouner23-Sep-05 7:19
daouner23-Sep-05 7:19 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
Heath Stewart23-Sep-05 7:27
protectorHeath Stewart23-Sep-05 7:27 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
daouner23-Sep-05 7:34
daouner23-Sep-05 7:34 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
daouner23-Sep-05 9:08
daouner23-Sep-05 9:08 
QuestionRegular Expression for html tags Pin
brunoconde22-Sep-05 5:15
brunoconde22-Sep-05 5:15 
AnswerRe: Regular Expression for html tags Pin
Guffa22-Sep-05 6:14
Guffa22-Sep-05 6:14 
GeneralRe: Regular Expression for html tags Pin
Anonymous22-Sep-05 8:36
Anonymous22-Sep-05 8:36 
Questionhow to use the AdRotator?? Pin
shanzy22-Sep-05 4:50
shanzy22-Sep-05 4:50 
:(Hi, codeprojectors

I edit a "ad.xml" file,the code is below:
-------------------------------------------
<Advertisements>
<AD>
<ImageUrl>images/redcar.gif</ImageUrl>
<TargetUrl>www.csdn.net</TargetUrl>
<AlternateText>red</AlternateText>
<Keyword>1</Keyword>
<Impressions>20</Impressions>
</AD>
<AD>
<ImageUrl>images/bluecar.gif</ImageUrl>
<TargetUrl>www.sohu.com</TargetUrl>
<AlternateText>blue</AlternateText>
<Keyword>1</Keyword>
<Impressions>50</Impressions>
</AD>
<AD>
<ImageUrl>images/greencar.gif</ImageUrl>
<TargetUrl>www.163.com</TargetUrl>
<AlternateText>green</AlternateText>
<Keyword>2</Keyword>
<Impressions>100</Impressions>
</AD>
</Advertisements>
-------------------------------------------

and then I drag a AdRotator in the webform.aspx
I set the "Advertisementfile" property point the "ad.xml",when I run the programme, It doesn't work!!

My Question is:

Because the picture is exsist in my "image\" directory,but they can't show!
(1)Whether I must write some codes in webform.aspx.cs?
(2)What are they looklike ??
(3)Can you show me the Page_Load() source codes??

Thank you very much!!
shanzy

-- modified at 11:03 Thursday 22nd September, 2005
AnswerRe: how to use the AdRotator?? Pin
shanzy22-Sep-05 5:28
shanzy22-Sep-05 5:28 
AnswerRe: how to use the AdRotator?? Pin
Dave Kreskowiak22-Sep-05 8:12
mveDave Kreskowiak22-Sep-05 8:12 
Questiontrapping hotkey Pin
Sabry190522-Sep-05 4:21
Sabry190522-Sep-05 4:21 
AnswerRe: trapping hotkey Pin
Mridang Agarwalla22-Sep-05 4:36
Mridang Agarwalla22-Sep-05 4:36 
QuestionChange windows system time Pin
djvando22-Sep-05 4:18
djvando22-Sep-05 4:18 
AnswerRe: Change windows system time Pin
Heath Stewart22-Sep-05 6:31
protectorHeath Stewart22-Sep-05 6:31 
QuestionWriting htmlstyle comments in xml Pin
Dan Neely22-Sep-05 3:54
Dan Neely22-Sep-05 3:54 
AnswerRe: Writing htmlstyle comments in xml Pin
Heath Stewart22-Sep-05 6:34
protectorHeath Stewart22-Sep-05 6:34 
GeneralRe: Writing htmlstyle comments in xml Pin
Dan Neely22-Sep-05 7:16
Dan Neely22-Sep-05 7:16 
Questionprogressbar in a statusbar panel Pin
Mridang Agarwalla22-Sep-05 3:43
Mridang Agarwalla22-Sep-05 3:43 
AnswerRe: progressbar in a statusbar panel Pin
Heath Stewart22-Sep-05 6:35
protectorHeath Stewart22-Sep-05 6:35 
QuestionInstalling file in Setup Project Pin
Anonymous22-Sep-05 3:38
Anonymous22-Sep-05 3:38 
AnswerRe: Installing file in Setup Project Pin
Heath Stewart22-Sep-05 6:41
protectorHeath Stewart22-Sep-05 6:41 
Questioncheckbox problem Pin
Mridang Agarwalla22-Sep-05 3:34
Mridang Agarwalla22-Sep-05 3:34 
AnswerRe: checkbox problem Pin
KaptinKrunch22-Sep-05 4:29
KaptinKrunch22-Sep-05 4:29 
GeneralRe: checkbox problem Pin
Mridang Agarwalla22-Sep-05 4:43
Mridang Agarwalla22-Sep-05 4:43 
GeneralRe: checkbox problem Pin
Guffa22-Sep-05 6:16
Guffa22-Sep-05 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.