I need help with this c# and asp.net question?

Hank

New member
I'm working on a program in asp.net but I need help with the C# part Add code that will get the text in the txtAnnualHours text box, convert it to a Double, and store it in a double variable. Add code that will get the text from the txtRate text box, convert it to a Double, and store it in another variable. Create a third variable of type Double and set its value to the annual hours variable value multiplied by the rate double variable value. Take this resulting value and convert it to a string (text), and update the lblSalary Text property with this new string. I need help doing this I have two text boxes 1 label and one button its post to calculate the hours and rate and give you the total for example 40 hours x 9.00 = 360.00 but it need to calculate other numbers can someone please help me figure this out.
I meant to say I have two text boxes 3 labels, and one button. the first text box need to be called txtAnnualHours second textbox needs to be called txtRate the 3rd labal need to be called lblSalary button needs to be called Calculate Salary 1st label can be AnnualHours 2nd label called Rate
 
Back
Top