D
David E
Hi,
I was hoping for a little advice about the following.
Firstly can I use multiple inheritance in vb.net. For example can I have my
webform class derive from mulpitle classes, and if so what is the syntax, I
can derive from a single class (inherit) but not from more than one.
secondly
I have certain functions that need to be in every page of this site
I am developing. so is the best approach to simply put them all into a class
and derive from it,
(perhaps not the strongest design) or to #include a file with all the
functions in in every page.
The main reason I ask is that I am starting to learn asp.net after
spending many years in classic asp. I was under the impressoion that
#including in asp.net was felt to be "not so good" and deriving from a class
that has no direct relation to the new class (in this case the page) was not
good design.
or is there another way that I should be approachng this ie web controls,
user controls ect...
any help is appreciated.
thanks in advance.
cheers
david
I was hoping for a little advice about the following.
Firstly can I use multiple inheritance in vb.net. For example can I have my
webform class derive from mulpitle classes, and if so what is the syntax, I
can derive from a single class (inherit) but not from more than one.
secondly
I have certain functions that need to be in every page of this site
I am developing. so is the best approach to simply put them all into a class
and derive from it,
(perhaps not the strongest design) or to #include a file with all the
functions in in every page.
The main reason I ask is that I am starting to learn asp.net after
spending many years in classic asp. I was under the impressoion that
#including in asp.net was felt to be "not so good" and deriving from a class
that has no direct relation to the new class (in this case the page) was not
good design.
or is there another way that I should be approachng this ie web controls,
user controls ect...
any help is appreciated.
thanks in advance.
cheers
david