Forum Moderators: open

Message Too Old, No Replies

5 pages in 1 using asp

using asp to call 5 pages in 1

         

KRMwebdesign

12:35 pm on Jan 16, 2010 (gmt 0)

10+ Year Member




I have a companies page and then four links going to four other pages but all the information is in the same Dbase record. It would be a lot handier for me to have all the info in one page and just call the info through the links. Does anyone know the best way to do this?

I was thinking

<% Dim CompanyArea
CompanyArea = HTML here %> then the conditional but I'm sure there's a better way of doing this. Any ideas?

Ocean10000

3:47 pm on Jan 18, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I been trying to figure out what you are asking but failing to do so.

What I think you are saying you have a Company Table. And this table is used on multiple pages. And you are looking at some way to optimize this access?

Just for an example of the pages Index has links to the following:
--> CompanyName.aspx?CompanyId=X
--> CompanyBIO.aspx?CompanyId=X
--> CompanyAddress.aspx?CompanyId=X
--> CompanyLogon.aspx?CompanyId=X
--> CompanyEmployees.aspx?CompanyId=X

Just a thought you could have all this information on one page but use JavaScript to show or hide the different details depending on the user actions. Example setting up tabs which correspond to the different sections and only show the currently selected tabs information.

KRMwebdesign

10:18 pm on Jan 18, 2010 (gmt 0)

10+ Year Member



Yes. This is what I am asking. I was hoping to do the javascript thing you mentioned but using VBscript.