Click here to Skip to main content
15,744,304 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am creating a menulist for a restaurant. I need the code to reset the values of "subtotal" and "total" back to $0.00 and clear the LABEL control of all previous order(S). I need this result ASAP. Thanks for your time.
Posted

You need to give more information. What are you using to store the values (dataset, custom object)? What are you writing this in (ASP, WinForms, etc)? You say you need to clear the label control of all previous entries, are all the labels open one one form (or page), or different ones?

 
Share this answer
 
Creating a GUI - Windows Form Application in C#, Single page form, want to reset with the clear button and delete all previous prices in order to start a new order.  Selection if from comboBoxes(4) CLEAR button will reset price display in textbox or label back to 0.00 to start a new order.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900