473,405 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 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 11297
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 main page without using frames! when i try...
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' --> } else if (condition2) { <!-- #Include...
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 the URL to be http://localhost:808 I chose all...
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 and going further am adding one aspx page to the...
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 once I am confident, I will rewrite them using...
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" -->. How can I do it? Thanks. Franz
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 allows users to upload a simple html document...
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 file called loadtemplate.aspx and then use that...
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 connection file which is asp.net and asp files ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.