471,593 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,593 software developers and data experts.

DataReader and computed columns

Hi all,

I have two identical DataTables. One of the columns is a computed one.
With a DataReader I try to copy the DataRows from one table to the
other, but I get an InvalidOperationException, because calculated
columns can not be set. Does anyone know a solution to work around
this behaviour, for example how to exlude this column from the copy
process (without removing it from the table)?

Thanks in advance

Feb 20 '07 #1
0 1168

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by DMAC | last post: by
4 posts views Thread by Henning N?rg?rd | last post: by
3 posts views Thread by Raymond Du | last post: by
3 posts views Thread by Martin Panggabean | last post: by
7 posts views Thread by Aamir Mahmood | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.