Click to See Complete Forum and Search --> : Database Connection with SQL


amd1170
June 28th, 2002, 01:41 PM
I am trying to make a universal connection object for both an SQL client and a OLE client. I have a separate class that actually makes the connection. I need to inherit this connection object in another class to be able to access the data for both inquiry and update. I need to make this component class accessible by multiple classes. The way I currently have is coded I am getting the following error: cannot inherit from a sealed class. Any help would be greatly appreciated.

grolms
July 2nd, 2002, 09:25 AM
SQLConection is sealed and are not inherit ...

V. Lorenzo
July 2nd, 2002, 12:56 PM
Hi:

Yes, they are sealed, but both support the same Interface, so maybe something could be done. Take a look at it.

VictorL