I am using vb Express 2008 and MsAccess as database.
i have two comboboxes combDescription,combPrice and two textboxes txtQuantity,txtAmount.
data is transferred from these two comboboxes and two textboxes to display in listbox like:
Description, Quantity, Price, Amount
order1 2 3 6
order2 2 4 8
order3 2 4 8
order4 2 5 10
Total 32
Now this data from list box is to be saved in a table which has the same columns as of listbox and ofcourse of same datatype. i want to save this data in that table with one Id so that the said data after be retrieved back into the listbox and after some additions of more orders saved back into that table under the same Id.
Kindly advise me to code for that.
i have two comboboxes combDescription,combPrice and two textboxes txtQuantity,txtAmount.
data is transferred from these two comboboxes and two textboxes to display in listbox like:
Description, Quantity, Price, Amount
order1 2 3 6
order2 2 4 8
order3 2 4 8
order4 2 5 10
Total 32
Now this data from list box is to be saved in a table which has the same columns as of listbox and ofcourse of same datatype. i want to save this data in that table with one Id so that the said data after be retrieved back into the listbox and after some additions of more orders saved back into that table under the same Id.
Kindly advise me to code for that.