Updating DataTable with calculated column

  • Thread starter Thread starter Luca Giusti
  • Start date Start date
L

Luca Giusti

Hi all,

i've a problem trying to update a DataTable with a
calculated column added at runtime. The error i receive
is:

Cannot change readonly property for the expression column

The only way to avoid this, is to delete the SELECT
statement added by the DataAdapter wizard to the
UpdateCommand SQL string.

Alas, i need this select to know the primary key assigned
by SQL Server (this key will be foreign key for other
entities).

Any of you got any idea?

Thanx you very much,

Luca Giusti
 
Back
Top