Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi how to calculate commission based on sales value..

[textbox][button]
[lblMessage]

if i enter sales value between 1000 to 10000 after clicking button have to calculate
commission and have to show in lblmessage.in codebehind the commssion should be 1000 to 10000 is 2%....10000 to 100000 5%..any one can help??
Posted

1 solution

Sounds a lot like a homework question, and a very simple one at that. You need to provide some code to show what you have done and where you are having trouble.

You can save the result to your label using me.lblMessage.text = RESULT.tostring

The trick is to work out the value for RESULT!!
 
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