Results 1 to 2 of 2

Thread: Including asp and html code...

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Posts
    44
    Hello,

    I am working on a web database project and got stumped with this question...

    Can I include ASP and HTML code from another file within a page?

    I would like to re-use an input form in several different pages. Basically have a header and various asp functions at the top of the page and then put a shared form below...

    Thanks,
    Scott
    Last edited by scotty; Mar 28th, 2001 at 07:16 PM.

  2. #2
    Lively Member harsoni's Avatar
    Join Date
    Oct 2000
    Posts
    118
    In your asp at the point where u wan to include the re-use code...use like this..


    ..............
    .................
    <!-- #include file="your.asp" -->
    -------------------------------
    ------------------------------

    your.asp has the code for the shared form.

    Sonia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width