Question Postgres connection

finomatic

New member
Joined
May 30, 2012
Messages
2
Programming Experience
Beginner
Hi all

I would like to ask, how to connect Postgres to VB.Net ...?

Thanx ...
 
The same way that you connect to any other database: using ADO.NET. This is one of the first places to look:

ConnectionStrings.com - Forgot that connection string? Get it here!

It will tell you what providers, standard and otherwise, are available for any particular database. You'll pretty much always be able to use OleDb and Odbc, which will require you to install an appropriate OLE DB provider or ODBC driver. There may also be a database-specific provider available, either from the database vendor or a third-party. Those may be free or they may not. Once you've picked an ADO.NET provider, the code pattern is exactly the same regardless. Only the specific types will change.
 
Back
Top