S
Shelly
Please tell me the best way to do this (I am still new to VB.NET and ASPX)
as this should very easy for anyone with any experience to answer.
In the code behind file (filename.aspx.vb), I import things that are
namespace imports in the main file (filename.aspx). These are from the core
set. I would also like to have a set of functions that I write and use in
many pages, so that I write them once and for all and be done with it
without having to copy them. The way I envision is to include a file that
contains these functions, but I don't know how to do that here and my
searching didn't turn up anything. Note: this in not for including in the
aspx file. It is for the VB file.
(Coming from php there are several commands that could be used eg include,
require and require_once). How do I do it in VB.NET? If it is more
complicated than that, please direct me to some code samples.
Shelly
as this should very easy for anyone with any experience to answer.
In the code behind file (filename.aspx.vb), I import things that are
namespace imports in the main file (filename.aspx). These are from the core
set. I would also like to have a set of functions that I write and use in
many pages, so that I write them once and for all and be done with it
without having to copy them. The way I envision is to include a file that
contains these functions, but I don't know how to do that here and my
searching didn't turn up anything. Note: this in not for including in the
aspx file. It is for the VB file.
(Coming from php there are several commands that could be used eg include,
require and require_once). How do I do it in VB.NET? If it is more
complicated than that, please direct me to some code samples.
Shelly