From:
<car...@te...> - 2004-03-08 11:55:29
|
Hello: > Thanks for answer. I understand what happened :) > But a still have problem :( Huummmm .... the problem is: 1. DbDataAdapter.Update calls ExecuteReader. 2. In ExecuteReader the provider transforms the command text as SELECT * FROM TEST_DELETE 3. DbDataAdapter.Update closes the data reader without calls to FbDataReader.Read and Firebird doesn't perform the row deletes. Now the tip is how to solve this, we can add, to the FbDataReader.Close method, a pice of code like this: if (this.position == STARTPOS && this.command.CommandType == CommandType.StoredProcedure) { this.Read(); } And it will work. Opinions ?? -- Best regards Carlos Guzmán Álvarez Vigo-Spain |