There is a problem with dataGridView.Rows[].DefaultCellStyle.BackColor. The color applied for the background of the specified Row is used for all the Rows of the grid instead of only the specified Row ...
or create a simple crud operations with sql server database. We will use Entity Framework, sql database, DevExpress Component to learn how to update database in c# topics such as: how to insert data ...