T
Terry Burns
I'm new to ADO.NET and I am trying to understand a problem.
I have a access table which is contained
PersonIndex
EventType
I created Connection, DataAdapter and dataset which is bound to my data
grid. It wont build an Update or Delete command because it cannot identify
the rows uniquely. OK, so then I add an auto number primnary key feild to
the access table and re-generate the dataset, now I have
PersonIndex
EventType
ID
Each time I fill the dataset, the ID's change ( increment ) which seems
nonsense to me. Also, if I delete rows and then update the dataadapter, no
error occurs but the rows are not erased, nor can you update the rows.
Can anyone shed any light on this ?
I have a access table which is contained
PersonIndex
EventType
I created Connection, DataAdapter and dataset which is bound to my data
grid. It wont build an Update or Delete command because it cannot identify
the rows uniquely. OK, so then I add an auto number primnary key feild to
the access table and re-generate the dataset, now I have
PersonIndex
EventType
ID
Each time I fill the dataset, the ID's change ( increment ) which seems
nonsense to me. Also, if I delete rows and then update the dataadapter, no
error occurs but the rows are not erased, nor can you update the rows.
Can anyone shed any light on this ?