I'm trying to connect to an oracle database using ADO.Net in VB. I added the following code in the .vb file tht I've created:
imports system.data.oracleclient
But it gives the following error:
Warning1Namespace or type specified in the Imports 'System.Data.oracleclient' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.C:\VB\Test Connection\Test Connectino\Form1.vb29Test Connectino
Can someone understand what is the problem? I can successfully import system.data.sqlclient, but not system.data.oracleclient.
Your help on this will be very much appreciated.
Thanks,
Ankit
imports system.data.oracleclient
But it gives the following error:
Warning1Namespace or type specified in the Imports 'System.Data.oracleclient' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.C:\VB\Test Connection\Test Connectino\Form1.vb29Test Connectino
Can someone understand what is the problem? I can successfully import system.data.sqlclient, but not system.data.oracleclient.
Your help on this will be very much appreciated.
Thanks,
Ankit