Page "including"

  • Thread starter Thread starter mutant
  • Start date Start date
M

mutant

Guest
Maybe Im just blind and didnt find anything on it or I need to ask a question :)
Does ASP.NET can do something like in PHP where you could just put an include statement and it would plug in html from other file right where you put it?
 
The proper .NET way would be to create a web control that outputs the appropriate string to the browser, however you can still use simple server-side includes:
Code:
<!--#INCLUDE FILE="file.ext" -->
 
Back
Top