how to include file .asp in file .aspx

A

armando

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?????
 
R

Ray Costanzo

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top