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

A

antonyliu2002

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.
 
G

Guest

Tony,

put sources in app_data, use anywhere. I would leave at least one in the
code behind though.

Good Luck
DWS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top