making DataRowView field read/write???

V

VMI

I have a field in my DataRowView that's read-only because it's a "join" of
several other fields of the same DataRowView. For example, the field "Input"
concatenates fields "Addr1", "City", "St", and "Zip", so I can't modify it.
Is it possible to modify the properties of that particular field so that it
can be written to? If not, can I copy that DataRowView into another
DataRowView and then modify the field? The copy should be an exact copy,
since the method's expecting a DataRowView with the same field names (and
number of fields).

Thanks.
 
D

Dave

Is it possible to modify the properties of that particular field so that it
can be written to?

Is the field an "Expression" field or is the concatenation performed in code?

Either way, if the field in the DataTable isn't marked as "ReadOnly", i believe you can still write to it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top