o meu problema está em trabalhar com os dados da BD.
Tenho
DataBase.Conecta();
Npgsql.NpgsqlCommand comm = new Npgsql.NpgsqlCommand();
comm.CommandText = " SELECT b_sample_green FROM status_project where project = '" + b_sample + "'";
string teste = comm.ExecuteNonQuery().ToString();
e a minha variável teste sai sempre com valor 0.
↧