472,344 Members | 1,981 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,344 software developers and data experts.

how to include file .asp in file .aspx

Hi, I'm working on a web site devolepped in asp and this site work
with the incusion in the page asp

<td id="Colonna lato sinistro" width="200px" valign="top"
style="height: 19px">
<!--#include file="Include/colonna_sx_ecomm.asp"!-->
</td>

in the colonna_sx_ecomm.asp there is:

<table id="Tabella colonna sinistra" align="center" width="200px"
cellpadding="0" cellspacing="0" border="0">
<tr><td width="200px" align="center">&nbsp;</td></tr>
<tr><td width="200px" align="center"><!--#include
file="menu_ecomm.asp" !--></td></tr>
<tr><td width="200px" align="center">&nbsp;</td></tr>
<tr><td width="200px" align="center"><!--#include
file="form_selezione_articoli.asp" !--></td></tr>
<tr><td width="200px" align="center">&nbsp;</td></tr>
<tr><td width="200px" align="center"><!--#include
file="inc_carrello.asp" !--></td></tr>
</table>

and in the, for exemple, in the menu_ecomm.asp there is the code to
load the menu.....

I would like to to the inclusion

<td id="Colonna lato sinistro" width="200px" valign="top"
style="height: 19px">
<!--#include file="Include/colonna_sx_ecomm.asp"!-->
</td>

in a page .aspx

how can i do this?????

Apr 18 '07 #1
1 11224
Convert the old include file into a .net control (.ascx). You can't just
grab an old ASP file and include it in a .net app.

Ray at work

"armando" <ar**************@libero.itwrote in message
news:11**********************@y5g2000hsa.googlegro ups.com...
Hi, I'm working on a web site devolepped in asp and this site work
with the incusion in the page asp

<td id="Colonna lato sinistro" width="200px" valign="top"
style="height: 19px">
<!--#include file="Include/colonna_sx_ecomm.asp"!-->
</td>
I would like to to the inclusion

<td id="Colonna lato sinistro" width="200px" valign="top"
style="height: 19px">
<!--#include file="Include/colonna_sx_ecomm.asp"!-->
</td>

in a page .aspx
Apr 18 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sameer | last post by:
I have two C# aspx pages( base.aspx and newfile.aspx 1. newfile.aspx only contain ======================= < Response.Write(Session) % ...
2
by: Kraai | last post by:
in normal asp , and even php i could use the <!--#include file="login.aspx" --> or <!--#include virtual="login.aspx" --> to include pages in my...
7
by: Andre | last post by:
I want to condition what include files are included in an web page (.aspx). Something like: if (condition1) { <!-- #Include File='file1.htm'...
1
by: Tom | last post by:
Hi I developed a web application and want to create the setup package msi file I created a a project and chose "Installer Web Project" I set...
3
by: Tams TS | last post by:
Hi, am in trouble , please giv me some solution. scenario is like this; I have some asp pages and which are commerce server 2000 generated pages...
1
by: Joe | last post by:
Hi, I haven’t mastered the asp.net yet to be able to use asp.net 2.0 master pages. So I am planning to create pages with .aspx extension and...
5
by: Franz | last post by:
Hi, I would like to include a aspx file inside a script-block, however, I don't want to include that file by <!-- #include virtual="whateverfile"...
3
by: =?Utf-8?B?QnJhbmRvbg==?= | last post by:
Hi, I have an aspx page that has the "include" code in it which includes another page that displays information. I also have an upload page that...
0
by: btg | last post by:
We have a situation where some html content is generated and stored in a xxx.aspx file. When we need to show that content, we copy this file to a...
2
by: kkshansid | last post by:
i am from asp background i am very new to asp.net environment i want to know that is there any include in asp.net as in asp so that i can include...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.