Solved

how to connect c# 2010 to postgresql 9

Posted on 2010-11-12
1
1,247 Views
Last Modified: 2012-05-10
how to connect c# 2010 to postgresql 9
0
Comment
Question by:teera
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
Hatrix76 earned 500 total points
ID: 34126512
Hi, I am not a .NET / C# guy but you seem to have at least two options:

a native .NET data provider:
http://pgfoundry.org/projects/npgsql

it says it works for 7.x and 8.x, i am sure it will work as well for 9.x


and naturally you can use odbc to connect to postgresql:
here is a howto use postgresql and C# with odbc:
http://psqlodbc.projects.postgresql.org/howto-csharp.html

here are the odbc drivers for windows:
http://www.postgresql.org/ftp/odbc/versions/msi/

best

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Many developers have database experience, but are new to PostgreSQL. It has some truly inspiring capabilities. I have several years' experience with Microsoft's SQL Server. When I began working with MySQL, I wanted a quick-reference to MySQL (htt…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question