Results 1 to 3 of 3

Thread: easy ASP question

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2000
    Posts
    44
    <!-- #include filename -->

    I know ASP - but what is it? why ppl write it - how to use it? can u give me an example?

    Thanks



  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696

    Wink

    The easiest way to describe it is using form validation.

    Say you have 6 different forms that you need to validate using Server-Side validation (ASP). You have twenty different functions that are used on all of the forms. Instead of having the 20 functions on every page, you can create one asp page that just has the functions in it, And in each form validation page have the #include to that asp page. Thus saving space and time.

    Hope this helps

    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  3. #3
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    You use include files the same way you would use a code module in VB. The code in an include file is reusable, just like the code in a module.

    Here is a tutorial on using include files:

    http://www.4guysfromrolla.com/webtec...ner/faq6.shtml

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