Solved

how to connect c# 2010 to postgresql 9

Posted on 2010-11-12
1
1,242 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now