C# – Connecting to Informix database from .Net

cdatabase connectioninformixnet

What's the best way to connect to a Informix database from .Net?

I'm developing a client-server application based on a legacy Informix DB which used to be connected by JDBC.

I need it, from the most important to the least:

  1. To be fast
  2. DB server changes not needed
  3. No ODBC and no dependencies, other than de .Net Framework 2.0

Thanks in advance for your help.

Best Answer

The connections strings to use with OleDb or ADO.NET can be found here.

Take a look at this article on how to connect to an Informix database using ADO.NET.