Solved

use a query string in an include

Posted on 2003-12-10
3
274 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-
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

688 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