Woops! I guess i underestimated this part of my project big time. Unfortunately, messy or not, i'm gonna have to make it work for at least the shopping cart anyway. If you have any tips, i would sure appreciate them right about now.
I found some references but they didn't seem to work but i guess i'm not sure where to place the code exactly.
Code:
<%@ Page Language="vb" AutoEventWireup="false"%>
<html>
<body>
<%
Response.WriteFile ("Yourfile.inc")
%>
</body>
</html>
and this explanation didn't yield any results yet
Code:
at the top of each include file put
<%@ Control Language="VB" EnableViewState="False" %>
and save them with .ascx extension
then in your main file put Register directives at the top of the page:
<%@ Register TagPrefix="UserControl1" TagName="Top" Src="top.ascx" %>
<%@ Register TagPrefix="UserControl2" TagName="Reset" Src="reset.ascx" %>
<%@ Register TagPrefix="UserControl3" TagName="OpenPage" Src="openpage.ascx" %>
<%@ Register TagPrefix="UserControl4" TagName="Conns" Src="openconns.ascx" %>
and between the <body> tags put
<body>
<UserControl1:Top runat="server" />
<UserControl2:Reset runat="server" />
<UserControl3:OpenPage runat="server" />
<UserControl4:Conns runat="server" />
</body>