<!-- #include filename -->
I know ASP - but what is it? why ppl write it - how to use it? can u give me an example?
Thanks
Printable View
<!-- #include filename -->
I know ASP - but what is it? why ppl write it - how to use it? can u give me an example?
Thanks
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
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