mysql - Is it possible to have a textbox item equal another value -


Can not find anything on the internet I have an automated input textbox that will display the job selected in my combobox. . So if the customer ID selected from the combobox was 1st, it would demonstrate what the customer's job was.

Then the text box can either appear: book keeping or accounting

The cost of the book kept for each of these examples is £ 100 per hour. Then on your form you use the numerical above to select the hour to take this job to the person if 2 is chosen, then I have another text box which is worth 100 pounds = 2 £ 200

Is it possible to do this, I do not know.

This is my code from some research, but I can not work it

if txtservice1.Text = "Book" then txtservicepayment.Text = 100 * NumericUpDown1 Value End if

You need to calculate the total value and by adding the calculation value Use the method  £ . This code should work and should have handler inside it, like something:

  Private Sub NumericUpDown1_ValueChanged (Sender as the object, the form of e EventArgs In) _NumericUpDown1 handles. Value change if txtservice1.Text = "Booking" then txtservicepayment.Text = string.Format ("a £ {0}", 100 * NumericUpDown1.Value) end if end    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -