working object oriented with asp.net

darker080

Newcomer
Joined
Dec 13, 2002
Messages
7
hi,

I don't really get the object oriented thing in asp.net !!
Can someone provide me a some tutorial about working with classes etc.

I have the following questions ...

Do i have to save the state of a class in a session or a cookie or is the state of a class automaticaly saved with switching between pages ?

And when do i have 2 use the public shared function / sub and when the standar public function/sub

maybe it's a confusing question

but thx in advance

grtz

Darker080
 
Last edited:
darker080 said:
hi,

I don't really get the object oriented thing in asp.net !!
Can someone provide me a some tutorial about working with classes etc.

I have the following questions ...

Do i have to save the state of a class in a session or a cookie or is the state of a class automaticaly saved with switching between pages ?

And when do i have 2 use the public shared function / sub and when the standar public function/sub

maybe it's a confusing question

but thx in advance

grtz

Darker080
1. Look into form view state. . .
2. Look into static methods (the term used in real OO languages) for insight on how to use VBs shared keyword.

and classes dont have state. . . objects do :)
 
Back
Top