My code is like this, but it gives an error:
//array_field is an array of double values
NpgsqlCommand Command = new NpgsqlCommand("SELECT array_fied from atable");
NpgsqlDataReader dr = Command.ExecuteReader();
while (dr.Read())
{
double[] rrr = dr.GetDouble(dr.GetOrdinal("array_field"));
}
The error message is: cannot implicitly convert 'double' to 'double[]'. I tried other variations as well which also didn't work.
thanks for your help Judit