wrynn
asked on
server side includes with vb.net and asp.net 2.0
how do i do a server side include using vb.net and asp.net 2.0? if i include a separate file, does that separate file need to have a codefile attribute referincing my .vb file at the top or can just my default.asp have it?
ASKER
go on...........
Reference:
Smart headers and footers using ASP.NET User Controls
http://www.xefteri.com/articles/show.cfm?id=20
<Quote>We can still use include files in ASP.NET in pretty much the same way as classic ASP if we want to. However, User Controls offer greater flexibility, reliability and speed. We'll see this as we create a header User Control for this site.</Quote>
Bob
Smart headers and footers using ASP.NET User Controls
http://www.xefteri.com/articles/show.cfm?id=20
<Quote>We can still use include files in ASP.NET in pretty much the same way as classic ASP if we want to. However, User Controls offer greater flexibility, reliability and speed. We'll see this as we create a header User Control for this site.</Quote>
Bob
ASKER
the answer i was looking for was this:
<!-- #Include file="inc/includeFile.inc" -->
<!-- #Include file="inc/includeFile.inc"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Bob