ASP.Net Server-Side Include Syntax
Server-side #Includes enable developers to insert the raw contents of a specified file anywhere within an ASP.NET page. The following sample demonstrates how to insert a custom header and footer within a page.
---------------
<html>
<body>
<!-- #Include File="Header.inc" -->
<br />
<h3> Main page content </h3>
<br />
<!-- #Include File="Footer.inc" -->
</body>
</html>
Header.inc
This header has been included using a server-side include....
Footer.inc
This footer has been included using a server-side include....
0 Response to "ASP.Net Server-Side Include Syntax"
Post a Comment