[Mono-devel-list] DbDataAdapter.Fill problems

Carlos Guzmán Álvarez carlosga at telefonica.net
Fri Feb 13 10:13:09 EST 2004


Hello:

I'm having problems with the DbDataAdapter.Fill method, i'm running the 
nunit test suite of the Firebird .NET Data Provider under Fedora Core 1 
using latest mono CVS sources, the test cases that are giving problems 
to me are mainly related to the DataAdapter ( but all of them are 
running fine under Windows using .NET 1.0 ).

The problem is that DbDataAdapter.Fill seems to be no loading any rows, 
in a little sample like this:

string sql = "select * from TEST where int_field = @int_field";
FbCommand command = new FbCommand(sql, connection, transaction);
FbDataAdapter adapter = new FbDataAdapter(command);

adapter.SelectCommand.Parameters.Add("@int_field", 
FbDbType.Integer).Value = 1;		

DataSet ds = new DataSet();
adapter.Fill(ds, "TEST");

It needs to load one row but it's loading none, i ave checked that the 
command is correct and returns one row using a DataReader.

If needed i can fill a bug report at Bugzilla and provide a complete 
test case.


--
Best regards

Carlos Guzmán Álvarez
Vigo-Spain




More information about the Mono-devel-list mailing list