Solved

how to connect c# 2010 to postgresql 9

Posted on 2010-11-12
1
1,245 Views
Last Modified: 2012-05-10
how to connect c# 2010 to postgresql 9
0
Comment
Question by:teera
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
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.

821 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