From: | "Tommy" <tmartin1(at)telocity(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Pgsql and .NET (Help!) |
Date: | 2002-10-28 03:55:54 |
Message-ID: | 3dbcb46b$1_5@nopics.sjc |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I have been trying for 3 days to connect to my postgres linux box via vb
.net on a windows box. I have to make this work somehow.
I found npgsql provider and tried it but could not make it connect either. I
would prefer to use the OleDbConnection if possible.
Has anyone been able to connect via the odbc driver and .NET?
I am getting despirate and not sure which way to turn now.
A snip of the code I have been using to try to connect is below.
Thanks in advance.
Tommy
Dim connstring As String = "Server=192.168.5.5;User
Id=myname;Password=mypassword;Database=mydbname"
Dim conn As New NpgsqlConnection(connstring)
conn.Open()
conn.Close()
From | Date | Subject | |
---|---|---|---|
Next Message | Marc G. Fournier | 2002-10-28 03:59:48 | PostgreSQL v7.3beta3 Released |
Previous Message | Tara Piorkowski | 2002-10-28 02:50:38 | Re: Request for supported platforms |