H
Heinz Kiosk
I am trying to update a DataTable using LoadDataRow.
Sometimes I reload records that I have read before.
According to the documentation LoadDataRow handles this automatically if the
primary key on the incoming row is the same as a row already in the
DataTable. But I am finding that I get a constraint error when I try it,
along the lines that I am duplicating a unique column. And the constraint
error is on the primary key column. Isn't this what LoadDataRow is supposed
to handle for me? What am I missing?
Thank You
Tom
Sometimes I reload records that I have read before.
According to the documentation LoadDataRow handles this automatically if the
primary key on the incoming row is the same as a row already in the
DataTable. But I am finding that I get a constraint error when I try it,
along the lines that I am duplicating a unique column. And the constraint
error is on the primary key column. Isn't this what LoadDataRow is supposed
to handle for me? What am I missing?
Thank You
Tom