Re: GetChanges, Merge - Returning autoincrement key
- From: "cecil" <cecil@xxxxxxxxxxxxx>
- Date: 17 Aug 2005 14:23:27 -0700
Jim,
You need to add this code to your DataAdapters RowUpdated event:
if(e.StatementType == StatementType.Insert)
e.Status = UpdateStatus.SkipCurrentRow;
As per:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q313540
I love the fact that the status is "By design"!!
Cecil Howell MCT, MCAD.NET
www.Ceciltech.com
.
- Follow-Ups:
- Re: GetChanges, Merge - Returning autoincrement key
- From: Jim Rand
- Re: GetChanges, Merge - Returning autoincrement key
- Prev by Date: Re: Sorting DataView
- Next by Date: Re: Sorting DataView
- Previous by thread: Crystal XI troubles
- Next by thread: Re: GetChanges, Merge - Returning autoincrement key
- Index(es):