What is the right way to avoid errors on INSERT and UPDATES with a SqlDataAdapter/SqlCommandbuilder when the SQL Statement used to SELECT has a computed column as one of the return fields?
I get the error now that "The column Amount cannot be modified because it is either a computed column or is the result of a UNION operator".
UPDATE: I fixed the issue by using a query like this:
SELECT *, PercentRating * 500 AS CoreValue FROM ValueListings
And ditching the computed column. Now it works. How is that SqlCommandBuilder realizes to NOT build the CoreValue field into the UPDATE and INSERT statements? Anybody know how this works internally?