Thanks for replying.
I looked here
www.developerfusion.co.uk/vbnet/288/ - from the google page
you suggested.
I was trying the tutorial. It was making a lot of sense. But then I hit a
snag. The same snag that somebody else hit.
This is a question posed by another student, but it was not answered:
"I am very impressed by your tutorial as it finally allowed me to grasp the
syntax behind OOP programming with .net.
Only what I did not understand is how and where do I complile the .cs to a
dll? I cannot do it on the server. Do I do it on my local computer and then
upload? "
Would you know the answer to this question? I tried doing it from my
command prompt. I tried doing it from my localhost. No luck. I tried
putting the .cs code directly in my aspx file. Still no luck. What am I
missing?
"Tim Mackey" <ti********@community.nospamwrote in message
news:B9**********************************@microsof t.com...
hi
since you are in asp.net, i am guessing that the code you are writing will
be in a page. Every page in asp.net is a class. if you put your
variables inside the class declaration, all the subroutines can share the
variables. if you are in visual studio, the 'class' is defined in the
code-behind file.
the asp.net quickstart tutorials are a great way to learn about asp.net.
http://samples.gotdotnet.com/quickstart/aspplus/
you will need to learn about OOP to get good at .net so it will be well
worth your time. here is another link to a VB.Net OOP introduction:
http://www.codeproject.com/vb/net/OOPS_In_VBNET.asp
plenty more on http://www.google.com/search?q=vb.net%20OOP
hope this helps
tim
"dancer" <da****@microsoft.comwrote in message
news:O3****************@TK2MSFTNGP02.phx.gbl...
>Using ASP.net 1.1 and VB.Net
What is the SIMPLEST way to have 2 subroutines use the same variables (59
of them)? I don't know much about OOP. I need a way that uses very few
concepts until I get a grasp of the process.