A full example is provided with demo samples.
Otherwise, this is another example:
EacCommand cmd = ConnectionIBM.CreateCommand();
cmd.CommandText = "SELECT * FROM SP_CUST";
EacDataReader dr = (EacDataReader)cmd.ExecuteReader();
//To read data
List<object[]> tab = new List<object[]>();
object[] result = null;
while (dr.Read())
{
result = new object[9];
dr.GetValues(result);
tab.Add(result);
}
foreach (object[] results in tab)
{
string first = results[0].ToString();
MessageBox.Show(first);
}