D
Davíð Þórisson
asking a lot these days... how would I ever learn .Net without the
newsgroups!! Well I'm stuck on yet another point. All pages on my web have a
user control (initialise) that handles for example database connection;
opens db on page_onload and closes db on page_unload. But so that the
connection object is as easily accessible from all subpages and other user
controls I'd like to somehow "bind" it to the top level Page class.
Otherwise I foresee problems with accessing the db object from sub-codes.
Can anyone please tell me how do to this kind of thing?? Or should I maybe
use some other way?
newsgroups!! Well I'm stuck on yet another point. All pages on my web have a
user control (initialise) that handles for example database connection;
opens db on page_onload and closes db on page_unload. But so that the
connection object is as easily accessible from all subpages and other user
controls I'd like to somehow "bind" it to the top level Page class.
Otherwise I foresee problems with accessing the db object from sub-codes.
Can anyone please tell me how do to this kind of thing?? Or should I maybe
use some other way?