I have 5 TextBoxes and a Button, what I want is to display 4 out of 5 textboxes values in the data grid when the button is clicked. I am a new user so i can not attach the picture of the interface.
My text boxes are named as follows:
IDTextbox, titleText, QuantityTextbox, PriceTextbox, BrandTextbox
My button is named AddButton.
When I click on AddButton, the values from titleText, QuantityTextbox, PriceTextbox, BrandTextbox should be displayed in dataGrid.
I don't want to display the product id in the datagrid, instead I want a column with the header "Total_price". This column should display the total_price ie (quantity * price)
Also, I want to add the values every time a click the AddButton.
Thanks