i was wondering, can you use user controls in switch statements... for example
im using the querystring to pass along the section page i want to include and change images accordingly (less updating later on down the track)Code:switch (section) { case "news": response.write("<usercontrol1:news></usercontrol1:news>"); break; case "downloads": response.write("<usercontrol1:downloads></usercontrol1:downloads>"); break; } ... etc
can you do that? or is there another way?
i hope i made sense




Reply With Quote