A
A. Walker
Hello,
I have a table with datarows 1, 2 and I want to add a new row x between
1 and 2. The result I want is 1, 2(formerly x), 3(formerly 2).
There is a method DataRowCollection.InsertAt which works well for the
dataset. But when I write the dataset to the database the new row will
be written as last row. (Result: 1, 2, x)
I assume this is a result of my primarykey column named ID (autonumber).
What do I have to change to get the desired result?
Thx for your help
I have a table with datarows 1, 2 and I want to add a new row x between
1 and 2. The result I want is 1, 2(formerly x), 3(formerly 2).
There is a method DataRowCollection.InsertAt which works well for the
dataset. But when I write the dataset to the database the new row will
be written as last row. (Result: 1, 2, x)
I assume this is a result of my primarykey column named ID (autonumber).
What do I have to change to get the desired result?
Thx for your help