From:
<car...@te...> - 2004-01-08 19:12:03
|
Hello: > I downloaded the latest versions of both the server and the > data provider. I don't have the code here (the internet doesn't > work in my office at the moment) but to make sure I did not > make a mistake, I tried using the example from FbCommand page > from the provider documentation. It really doesn't make > any sense to me... Are you testing with anything like this ?? : FbConnection connection = new FbConnection(connectionString); connection.Open(); string sql = "select * from employee"; FbCommand command = new FbCommand(sql, connection); FbDataReader reader = command.ExecuteReader(); while (reader.Read()) { Console.WriteLine(reader[0]); } command.Dispose(); connection.Close(); -- Best regards Carlos Guzmán álvarez Vigo-Spain |