Is it possible to reference more than one source code files in codebehind?
- From: "antonyliu2002@xxxxxxxxx" <antonyliu2002@xxxxxxxxx>
- Date: 7 Feb 2006 07:42:02 -0800
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.
.
- Prev by Date: how can I get url of page ASPNET C#
- Next by Date: Re: how can I get url of page ASPNET C#
- Previous by thread: how can I get url of page ASPNET C#
- Next by thread: Preventing button postback
- Index(es):