In asp I could attach this tag as example below to join asp pages together
in
a single page.
<!-- File: header1.html -->
<!-- File: footer1.html -->
Is it possible to do this in asp.net ? If so, how do I do it ?
First, it is not possible to do what you described using HTML comments,
which is what those are. The only way to "join asp pages together in a
single page is by using server-side includes.
If that is what you're asking about, the answer is, yes, it's possible, but
breaks the ASP.Net object-oriented programming model.
Bottom line is, if you want to program procedurally, use ASP. If you want to
use ASP.Net, learn object-oriented programming, and learn the ASP.Net OOP
way of developing web applications. ASP will continue to be supported for
many years to come. ASP.Net is quite a learning curve to surmount, and is
well worth the effort, but you must be willing to make the effort to use it
correctly, or you will be very disappointed in the long run.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.