I have a datagirdview in C# you enter price and quantity of the product it automatically calculates subtotal of that product, I have modified the cell for the price to enter