Solved

use a query string in an include

Posted on 2003-12-10
3
272 Views
Last Modified: 2013-11-18
Dim Page      :       Page  = Request.QueryString("Page")


<!-- #INCLUDE FILE="../asp/<%=Page%>.asp" -->

i did a response.write and my Page have the right value in it but im not sure whats happening in the include i get the error

the file '../asp/<%=Page%>.asp' cannot be found
0
Comment
Question by:-Shadow-
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
shivsa earned 125 total points
ID: 9918064
Include files will be processed before any ASP code.  So you cannot do that.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9918076
This has been asked many times.
check this post too.
http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_20205347.html
0
 

Author Comment

by:-Shadow-
ID: 9918116
dsf;lkf

i read the post ... =( that i real bad news

i will explain what i want to doand maybe u will get soem idea on how to do it

i am using a menu and i want the link from the menu to be listed in feil 4 of my table without using tables so what i wanted to so it link adress from menu and add ?page= this so on the load of my page it shout the right page to my feil 4

1111111
2222222
3344444
3344444
3344444
3344444


any idea on how to do this my feild 4 will be big asp pages with tons of stuff
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to dynamically set the form action using jQuery.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question