Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Troubleshooting Exceptions: System.Data.ReadOnlyException

A ReadOnlyException exception is thrown when there is an attempt to change the value of a read-only data column.

Change the column to read/write.

This exception is thrown if you are attempting to change a value in a data column that is read-only. For more information, see DataColumn.

Make sure that you are modifying the data in the correct column.

This exception is thrown if you are attempting to change a value in a data column that is read-only. For more information, see DataColumn.

Community Additions

ADD
Show:
© 2015 Microsoft