Thanks Greg for your reply.
Hi dm_dal,
I'd like to give some additional information on this issue. VS.Net 2002
builds an assembly on the .net framework 1.0 by default. Although you can
target a .NET Framework Version in the app.config file, it is only
redirected at runtime. So I suggest you use VS.Net 2002 with .net framework
1.0 or VS.Net 2003 with .net framework 1.1. Any error when using VS.Net
2002 with .net framework 1.1 might not be supported.
Please refer to the following address for more information on targeting a
..NET Framework Version:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpcontargetingnetframeworkversion.asp
As Greg mentioned in his last post, ODBC .net provider in .net framework
1.0 is a separate download. You can download it from the following link:
http://www.microsoft.com/downloads/details.aspx?FamilyID=6ccd8427-1017-4f33-
a062-d165078e32b1&DisplayLang=en
The name space for ODBC in .net framework 1.0 is Microsoft.Data.ODBC, while
in .net framework 1.1 is System.Data.ODBC.
If anything is unclear, please feel free to reply to the post.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
--------------------
| From: "Greg Low \(MVP\)" <
[email protected]>
| References: <
[email protected]>
| Subject: Re: System.Data.Odbc ?
| Date: Wed, 15 Oct 2003 08:38:34 +1000
| Lines: 22
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework
| NNTP-Posting-Host: cpe-203-45-220-212.qld.bigpond.net.au 203.45.220.212
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:56183
| X-Tomcat-NG: microsoft.public.dotnet.framework
|
| Hi dm_dal,
|
| odbc was a separate download from the ms site (try
| msdn.microsoft.com/downloads). It was preinstalled in vs.net 2003.
|
| HTH,
|
|
| --
| Greg Low (MVP)
| MSDE Manager SQL Tools
|
www.whitebearconsulting.com
|
| | > I'm using VS.Net 2002 and have downloaded and installed the 1.1
framework
| > (redistributable & sdk) but VS says the namespace cannot be found. Any
| > Ideas?
| >
| >
|
|
|