According to [1], "The .NET Framework Data Provider
for ODBC ... were
not originally included in the .NET Framework version 1.0.
If you
require the .NET Framework Data Provider for ODBC or the
.NET Framework
Data Provider for Oracle, and are using .NET Framework 1.0,
you can
download these data providers from the Data Access and
Storage Developer
Center. The namespace for the downloaded .NET Framework Data
Provider
for ODBC is Microsoft.Data.Odbc."
So if you are using 1.0, you need to download it
Otherwise, you may be able to simply change it to
"Imports
System.Data.Odbc" (and this is included in
System.Data.dll)
Chris
[1] http://msdn2.microsoft.com/en-us/library/a6cd7c08.aspx
> -----Original Message-----
> From: Discussion of writing applications and components
using
> Visual Basic .NET [mailto:VBDOTNET DISCUSS.DEVELOP.COM] On
> Behalf Of Jason
> Sent: 17 September 2006 21:16
> To: VBDOTNET DISCUSS.DEVELOP.COM
> Subject: [VBDOTNET] Simple References Question
>
> Hello, I'm trying to process an Imports statement and
am
> ostensibly missing a necessary reference.
Unfortunately, I
> can't figure out how to add it. How can I add a
reference to
> make the following statement work?
>
> Imports Microsoft.Data.Odbc
>
> Told you it's a simple question, but I sure am stuck
on this
> minor detail.
>
> Thanks,
>
> Jason
>
> ===================================
> This list is hosted by DevelopMentor(r) http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>
>
>
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|