From: Oleg D. <thi...@td...> - 2006-04-27 17:54:16
|
Hello, Fabio Gomes said the following on 27.04.2006 20:44: > I tryied with cmd.ExecuteNonQuery(), but it seens that it just returns > the number of affected rows with a DELETE, UPDATE or INSERT, it aways > returned -1 with my select. Use cmd.ExecuteScalar() -- Oleg |