Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to connect c# 2010 to postgresql 9

Posted on 2010-11-12
1
Medium Priority
?
1,250 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 2000 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Suggested Courses

886 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