views:

303

answers:

2

Is it possible in C# to use an OleDbAdapter and use its Update method for a dataset when a table has no primary key and how can I do this?

A: 

Here's an example in VB, which might give you a general idea.

DOK
A: 

Can you add a primary key?

Without some kind of unique ID (which should be the PK) then there is no way of knowing what row to update.

gbn