I need to achieve the following architecture within my project....
I have 1 file DEFAULT.ASPX
that has contentholders linked to a masterpage and then uses webparts etc... that bit is fine... however I want to be able to load my new pages through DEFAULT.ASPX in the following way... default.aspx?pageID=1 (homepage), default.aspx?pageID=2 (another page), and so on... in this way the pageID parameter tells the page what masterpage to use.
What is the best method for achieving this?