Click to See Complete Forum and Search --> : include files ?????


fuwsdotnet
11-01-2003, 11:33 PM
Can i use include files with asp or is it only .net. if you can could you give me some syntax,

<!--#Include virtual="/lib/main/maintop.asp"-->

mine doesnt work at all.

second can you include an include file in an include file?
'(say that 10 times fast)

third. if i am using a css do i need to include it in every include file or will putting it in 1 be saffice?

any other advice links whatever dealing with this topic would be appreciated

john

PeOfEo
11-02-2003, 01:15 AM
you can include in asp
try
<!-- #include="localpath.asp" -->
Your syntax for a virtual include is fine though
it needs to be in a .asp file not in a static file so css is out of the question.