2

Is there an easy way to wrap an ADODB.Connection COM object (the one defined in adodb.dll) into a System.Data.Common.DbConnection ?

This connection is created in VBA and I would like to pass it to some C# component that expect System.Data.Common.DbConnection.

1 Answer 1

1

Nope, you cannot do that. ADO.NET is very different than ADO.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.