Is it possible to reference more than one source code files in codebehind?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The tutorial "Separating Code from Presentation" (
http://www.samspublishing.com/articles/printerfriendly.asp?p=25468&rl=1
) is very good.

It tells us how to have multiple presentation pages inherit from a
single source code in codebehind.

But, I wanna do the opposite.

I want to separate my application logic code for a single presentation
page into 3 different files. Call them source1.vb, source2.vb,
source3.vb.

Now, I want to be able to refer to all of the 3 vb source codes in my
presentation page presentation.aspx.

Is this possible? Of course, I know that I can simply de-separate the
source code and put them into a single vb file and have my aspx
presentation page refers to that single source code.

.


Quantcast