Connecting Tech Pros Worldwide Forums | Help | Site Map

how to include file .asp in file .aspx

armando
Guest
 
Posts: n/a
#1: Apr 18 '07
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?????


Ray Costanzo
Guest
 
Posts: n/a
#2: Apr 18 '07

re: how to include file .asp in file .aspx


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" <armando.cazzetta@libero.itwrote in message
news:1176891498.799872.318570@y5g2000hsa.googlegro ups.com...
Quote:
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>
>
Quote:
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
Closed Thread


Similar ASP / Active Server Pages bytes