Click here to Skip to main content
15,883,127 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have two fields price and quantity of integer type in database nd want to calculate bill from these fields and show in textbox . so please tell me how to do...
Posted
Comments
Maciej Los 8-Jan-14 2:17am    
What exactly do you want to know?

1 solution

You just need to retrieve the price and quantity from the database (google ADO.Net), then you can calculate the total and use the Text property of your textbox to display it. If you were hoping for someone to write the code for you, then you will have to go to rent a coder or somewhere like that. The only way for you to learn will be to do the work yourself.
 
Share this answer
 

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