The type or namespace name 'OracleConnection' could not be found
24314Nov 28 2006 — edited Nov 30 2006Hi,
I'm trying out the ODP example on otn. The project compiles ok until the OracleConnection constructor line is added. The error msg is listed below. What can be wrong?
/*
The type or namespace name 'OracleConnection' could not be found
(are you missing a using directive or an assembly reference?)
C:\HR\Visual Studio Projects\HR_Connect_CS\HR_Connect_CS\Form1.Designer.cs
128 17 HR_Connect_CS
*/
For troubleshoot, I move the odp bin path to the front of environment varisable PATH and reboot. But it doesn't help. The environment is Windows XP Pro, Oracle 10gR2, ODP 10.2 (installed from ODTwithODAC10202.exe), and Visual Studio 2005.