Problem with mysqltableupdate

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
chrisloth_tabor
Posts: 2
Joined: Mon 02 Oct 2006 16:42

Problem with mysqltableupdate

Post by chrisloth_tabor » Mon 02 Oct 2006 17:40

I'm using the dataset wizard in .NET 2005 to generate my command code. I have no problem inserting and updating, but my delete code is returning the following error.

When batching, the command's UpdatedRowSource property value of UpdateRowSource.FirstReturnedRecord or UpdateRowSource.Both is invalid.

This is an example of my call.

Me.Argd_demographicsTableAdapter.Update(Me.Argd_1DataSet2.argd_demographics)

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 03 Oct 2006 07:58

Try to set UpdateBatchSize property to 1.

Post Reply