Very funny issue with ADODB interop

Brady Kelly <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <[email protected]>
In one method in my Document class, I have the declaration following
declation.  It gives me CS0234: The type or namespace name 'RecordSet' does
not exist in the namespace 'ADODB'



ADODB.Recordset sqlRs = new ADODB.Recordset();



However, in another method in the same class, I have the following
declaration that compiles OK.  In the same class!  My ADODB reference is
working for many such declarations in the project.



ADODB.Recordset qryRs = new ADODB.Recordset();



WTF???


===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.