Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > include

Reply
Thread Tools

include

 
 
bender
Guest
Posts: n/a
 
      09-10-2003
I've made a small control asp 'script' that I need to include in most of my
html file (and I dont wanna copy 'n past the code into all my files). How
can I do this ? Been a while since I've been messing with asp so Im a bit
rusty but wasnt there some kind of include command ? Thanks for any help


 
Reply With Quote
 
 
 
 
Aaron Bertrand - MVP
Guest
Posts: n/a
 
      09-10-2003
> I've made a small control asp 'script' that I need to include in most of
my
> html file


HTML files can't include by default. If you mean in your ASP files, then

<!--#include file='small_control_file.asp'-->


 
Reply With Quote
 
 
 
 
HarryD
Guest
Posts: n/a
 
      09-10-2003
or, if it not in the same directory:
<!--#include virtual='/path/path/small_control_file.asp'-->

"Aaron Bertrand - MVP" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> > I've made a small control asp 'script' that I need to include in most of

> my
> > html file

>
> HTML files can't include by default. If you mean in your ASP files, then
>
> <!--#include file='small_control_file.asp'-->
>
>



 
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
/* #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
#include headers that include this header Aguilar, James C++ 2 07-16-2004 05:56 PM
Re: the use of #include <a_file.h> v/s #include"a_file.cpp" Elie Nader C++ 1 11-28-2003 03:12 PM
Re: the use of #include <a_file.h> v/s #include"a_file.cpp" Rolf Magnus C++ 2 11-28-2003 12:26 PM
#include "bar" negates #include <string> ; how to fix? Danny Anderson C++ 5 08-15-2003 06:38 PM



Advertisments