W
Wayne Wengert
I am rewriting some ASP pages to move them to ASP.NET (VB). The old pages
had some include files such as one that had the subroutine to create a
connection as well as the code that invoked that sub.
My understanding (never tried a user control before so I may well have this
screwed up) is that if I create a user control (I use VSNET 2003) I can then
put the SUBs in the main section of the code=behind and I am guessing that I
put the code I want executed where the control is invoked, into the Page
Load of the user control?
Any pointers to some examples a beginner can understand will be much
appreciated
Wayne
p.s. I tried to post this several hours ago but it never appeared in the NG
so I am trying again. If both posts appear I apologize.
had some include files such as one that had the subroutine to create a
connection as well as the code that invoked that sub.
My understanding (never tried a user control before so I may well have this
screwed up) is that if I create a user control (I use VSNET 2003) I can then
put the SUBs in the main section of the code=behind and I am guessing that I
put the code I want executed where the control is invoked, into the Page
Load of the user control?
Any pointers to some examples a beginner can understand will be much
appreciated
Wayne
p.s. I tried to post this several hours ago but it never appeared in the NG
so I am trying again. If both posts appear I apologize.