I’m using a DataGridView to display EntityObjects from the .NET Entity Framework.
how could I change the formatting of a row of the DataGridView if the corresponding EntityObject has been altered by the user, e.g. displaying the row in bold
greetings
You can retrieve the state of an object using the
ObjectStateManager:You can handle the
CellPaintingevent of theDataGridViewto change the style of the row according to the entity state