Using Include FIles
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
Using Include FIles
Include files allow you to take pieces of redundant code or html and place them on a page by themselves.http://nuts4asp.com/tutorials/useinc/
Total Hits: 3567
Total Votes: 24 votes
Category: ASP/Content Management
Submitted on: 2008-03-05 04:31:01
Submitted By: Devesh Khanna
Description:
Include files allow you to take pieces of redundant code or html and place them on a page by themselves. This is practical approach in keeping maintenance down to a minimum in a variety of ways. Below will give you an idea of what to use them for.1. Database Connections
2. Menus
3. Headers
4. Footers
5. Advertising Slots
These are just some of the scenarios in which an include file could be beneficial. All it takes is one line to include a file on a page. For example, we have a bunch of info we want on all our pages that may need to change from time to time. First we will create a page named stuff.asp and put all that information on it. Now we put that in a directory we will call include. More detail...
Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |





16.67%

16.67%

16.67%

16.67%

16.67%