c# - Including a file not using html include -



c# - Including a file not using html include -

in php see lot of including when comes things word press, drupal etc.

it looks this

header(); body(); footer();

i wondering asp.net / c# equivalent of because not want utilize standard html include.

thanks.

use asp.net 'master page'. create page '.master' extension design 1 time , include throught site.

the asphtml code this:

<%@ page masterpagefile="master1.master" %>

see msdn , w3schools on how utilize 'master pages'

c# asp.net dynamic include

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -