Hi,
I have combobox on datagrid in the form. In the datagrid, i have FoodName, Price, Quantity and SubTotal. The combobox will show list of food. If i select FoodName..the Price should appear automatically. And i need to enter the Quantity and the value of (Price * Quantity) will be stored in SubTotal. My problem is, i can select the FoodName and enter the number of Quantity. But i can't view the Price and SubTotal until i close the form and re-open it. Is there any way to refresh the datagrid without close and re-open the form?
Any idea? Thanx in advance..
I have combobox on datagrid in the form. In the datagrid, i have FoodName, Price, Quantity and SubTotal. The combobox will show list of food. If i select FoodName..the Price should appear automatically. And i need to enter the Quantity and the value of (Price * Quantity) will be stored in SubTotal. My problem is, i can select the FoodName and enter the number of Quantity. But i can't view the Price and SubTotal until i close the form and re-open it. Is there any way to refresh the datagrid without close and re-open the form?
Any idea? Thanx in advance..