H
HarryS
Hi,
Just wondering if someone can point me in the direction of a good
tutorial.
Today I was trying to come up with a way of controlling an
asp:adrotator in the codebehind file, as I wanted the keyword to
change depending on what part of the site they were on.
An example of what I want to happen in an ideal world:
So on the Page_Load function i put a line 'AdCreated.ChangeWord();'
Which went to:
public class AdCreated {
public void ChangeWord() {
adfile.KeyWord = "hompage";
Now it seems I have to learn all about static functions(?) and
creating a new instance first(?), so if someone could point me in the
right direction that would be cool.
(Dont need someone to write the code out, as otherwise i'll never
learn 'how it all works', just a good simple tutorial would be good.)
Ive got the basics of coding within the page, but now Im looking to
step up a gear and control everything from a codebehind sheet.
Thanks In Advance
H
Just wondering if someone can point me in the direction of a good
tutorial.
Today I was trying to come up with a way of controlling an
asp:adrotator in the codebehind file, as I wanted the keyword to
change depending on what part of the site they were on.
An example of what I want to happen in an ideal world:
So on the Page_Load function i put a line 'AdCreated.ChangeWord();'
Which went to:
public class AdCreated {
public void ChangeWord() {
adfile.KeyWord = "hompage";
Now it seems I have to learn all about static functions(?) and
creating a new instance first(?), so if someone could point me in the
right direction that would be cool.
(Dont need someone to write the code out, as otherwise i'll never
learn 'how it all works', just a good simple tutorial would be good.)
Ive got the basics of coding within the page, but now Im looking to
step up a gear and control everything from a codebehind sheet.
Thanks In Advance
H