making DataRowView field read/write???

  • Thread starter Thread starter VMI
  • Start date Start date
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.
 
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.
 
Back
Top