I'd like to know a good strategy for making each row in a datagridview editable/non-editable based upon the underlying object's IsNew property.
The thinking behind this is that I'm writing an accounting application and once a payment is "saved" to the database it shouldn't be possible to edit it whereas if it has not been saved the editing of the payment is acceptable.
So in the datagrid view I may have some rows that should never be edited (they are old) but the new rows may be edited until they are persisted to the database at which point they become read-only.
Thanks in advance.
Copyright (c) Marimer LLC