What is the right way to include class files and structure definitions on my .NET website? -



What is the right way to include class files and structure definitions on my .NET website? -

i build sites in .net without using visual studio.

are virtual includes right way include class definition files?

for illustration first few lines of page like:

<!--#include file="classdefinition.aspx"--> <!--#include file="anotherclassdefinition.aspx"--> <script language="vb" runat="server"> 'page load sub, etc

in classdefinition.aspx, have defined construction outside of class. first few lines of classdefinition.aspx this:

<script language="vb" runat="server"> construction logininfo public loginid string public somethingelse string public permissions hashtable end construction

i getting type not defined errors when seek declare private fellow member logininfo in anotherclassdefinition.aspx. why happening?

you should create ordinary .vb files in app_code directory. don't need include anything, anywhere.

.net structure ssi

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -