datagridview cellcontent checkbiox change event : I have a datagridview with 3 columns invoice id, price and a checkbox.

If checkbox is clicked price becomes 0 for that row. Now that is happening.

But when I uncheck the checkbox price should be as it was. But it is remaining zero. Below is my code for cellcontent click. How can i get previous price if checkbox in unchecked?

    private void grvItems_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            var senderGrid = (DataGridView)sender;
            DataGridViewRow row = this.grvItems.CurrentRow;
            if (e.RowIndex >= 0)
            {
                if (senderGrid.Columns[e.ColumnIndex] is DataGridViewCheckBoxColumn &&
                     e.RowIndex >= 0)
                {
                    if (e.ColumnIndex == grvItems.Columns["UnderWarranty"].Index)
                    {
                        string returnAmt = lblReturnAmountVal.Text;
                        bool isCheked = (bool)grvItems.Rows[e.RowIndex].Cells["UnderWarranty"].EditedFormattedValue;

                        if (isCheked)
                        {
                            grvItems.Rows[e.RowIndex].Cells["PRICE"].Value = "0.00";
                            lblReturnAmountVal.Text = "0.00";


                        }
                        else
                        { 
                            
                            
                        }
                        grvItems.EndEdit();

                        
                        
                    }

                }
            }
        }