Using Include FIles

Tutorials Shared by the Internet Community

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: 16729

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 139 votes

  • Category: ASP/Content Management

  • Submitted on: 2008-03-05 04:31:01

  • Submitted By: Devesh Khanna

  • Set as Favorite

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
 One star  Vote LeftVote MiddleVote Right 38.85%  54
 Two starsTwo star  Vote LeftVote MiddleVote Right 10.07%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.51%  16
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.79%  15
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 28.78%  40

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.






Advertisements