[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Marc Woolfson

11/4/2002 6:55:00 PM

Hello,

I am new to ODBC, and in fact .NET altogether. I realise that I need this
Data Provider in order to start communicating with my PostgreSQL database
through C#. I have downloaded and installed the add-in, but the
Microsoft.Data.odbc namespace does not seem to be found by VS.NET when I
attempt to compile. It does however appear in the Global Assembly Cache. Can
anyone shine some light on my 'basic' problem?

Cheers,

Marc

Computing Department, Lancaster University, UK


2 Answers

Karl Tarbet

11/4/2002 7:52:00 PM

0

Hi.
Be sure to add a reference to your project:
Or from command line add:
/r:Microsoft.Data.Odbc.dll

Karl



>-----Original Message-----
>Hello,
>
>I am new to ODBC, and in fact .NET altogether. I realise
that I need this
>Data Provider in order to start communicating with my
PostgreSQL database
>through C#. I have downloaded and installed the add-in,
but the
>Microsoft.Data.odbc namespace does not seem to be found
by VS.NET when I
>attempt to compile. It does however appear in the Global
Assembly Cache. Can
>anyone shine some light on my 'basic' problem?
>
>Cheers,
>
>Marc
>
>Computing Department, Lancaster University, UK
>
>
>.
>

Steven Spits

11/21/2002 3:13:00 PM

0

Right click on your project, select "add reference". Select the .NET tab,
select "Microsoft.Data.Odbc.dll" in the list and, click "select" and finally
click "Ok". This should get you going...

Steven Spits
Servico Computer Systems

- - -

"Marc Woolfson" <m.woolfson@lancs.ac.uk> schreef in bericht
news:eapt7sChCHA.1356@tkmsftngp11...
> Hello,
>
> I am new to ODBC, and in fact .NET altogether. I realise that I need this
> Data Provider in order to start communicating with my PostgreSQL database
> through C#. I have downloaded and installed the add-in, but the
> Microsoft.Data.odbc namespace does not seem to be found by VS.NET when I
> attempt to compile. It does however appear in the Global Assembly Cache.
Can
> anyone shine some light on my 'basic' problem?
>
> Cheers,
>
> Marc
>
> Computing Department, Lancaster University, UK
>
>