The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
[Originally posted by lvhuyen]

I have an ODBC connection in the Server Explorer tab of my C# project. I want
to create an OdbcDataAdapter, so I drag a table under that connection tree and
drop it on my form. But I received an error dialog said that can't generate
UPDATE and DELETE statements (explaination is: Couldn't determine which
columns uniquely identify the rows for "user".)
My MS Access database have only one table 'user' which has the following
fields: ID, firstname, lastname. ID is the primary key.
Please help me about that error dialog, what the reasons are, and how to
resolve it.
Thanks very much!