I would like to know how i can calculate the total for each product.
i have 4 textboxes that are control arrays
i tried this
txtTotal(Index) = CDbl(txtUnitPrice(Index)) * CDbl(txtQuantity(Index)) / CDbl(txtDiscount(Index))
it doesn't seem to work
where would be the best place to put this code so that the total is