Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > how to include file .asp in file .aspx

Reply
Thread Tools

how to include file .asp in file .aspx

 
 
armando
Guest
Posts: n/a
 
      04-18-2007
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?????

 
Reply With Quote
 
 
 
 
Ray Costanzo
Guest
Posts: n/a
 
      04-18-2007
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" <> wrote in message
news: 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
/* #include <someyhing.h> */ => include it or do not include it?That is the question .... Andreas Bogenberger C Programming 3 02-22-2008 10:53 AM
ASP Include file error <!-- #include file="" --> naveeddil ASP .Net 0 01-04-2008 12:58 PM
include file in include file PTM HTML 1 11-12-2007 10:13 AM
#include "file" -vs- #include <file> Victor Bazarov C++ 4 03-06-2005 07:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57