Re: ConnectionPooling and the new parameter_collection.cs
Posted by: James Pearson
Date: December 01, 2006 04:32AM

I'm having the same problem, although I haven't found a solution yet. I assume you mean cb.RefreshSchema() rather than da.RefreshSchema()? Although this doesn't resolve the issue for me.

When I use the commandbuilder to autogenerate commands and then run the .Update() method I get the exception:

System.ArgumentException: Item has already been added. Key in dictionary: '?p14' Key being added: '?p14'
at System.Data.Common.DbDataAdapter.UpdatingRowStatusErrors(RowUpdatingEventArgs rowUpdatedEvent, DataRow dataRow)
at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.Update(DataTable dataTable)...

Does anyone know anything more about this problem?

Options: ReplyQuote


Subject
Written By
Posted
Re: ConnectionPooling and the new parameter_collection.cs
December 01, 2006 04:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.