There is such code for receiving data from the Informix database
OdbcDataReader dr = null; dr = db.DataReader(query); int fieldCount = dr.FieldCount; while (dr.