B
Brad
I have a database class that I have created that handles connecting and
disconnecting and error reporting and all of that so I don't have to do
it in my actual pages. I have a base page that all of my pages inherit
that declares the database class object so on any child page I can say:
MyBase.oDatabase.GetRecord("Select blah from blah where blah")
to get a record.
Is this the best way to do this?
disconnecting and error reporting and all of that so I don't have to do
it in my actual pages. I have a base page that all of my pages inherit
that declares the database class object so on any child page I can say:
MyBase.oDatabase.GetRecord("Select blah from blah where blah")
to get a record.
Is this the best way to do this?