Use includes to insert files containing repetitive script code,html or text. Includes are a useful way of making your web pages manageable.
<html>
<head>
<title>
</title>
</head>
<body>
<!-- #include file="dothis.asp" -->
<!-- #include virtual="/includes/dothis.asp -->
<!-- #include file="c:\myapp\includes\dothis.asp" -->
</body>
</html>
|
The adovbs.inc file is an example where ADO named constans can be used within a particular page.
<html>
<head>
<title>
</title>
</head>
<body>
<!-- #include file="adovbs.inc" -->
</body>
</html>
|
A modular approach to coding can be used by using #include. This can mean that common functions and subroutines can be stored for use throughout a web application.