Advertisement
Ortund

Untitled

Mar 26th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Try this...
  2.   Dim a, b As String
  3.   a = TextBox1.Text
  4.   b = (TextBox2.Text)
  5.   Dim discount as Double
  6.   Select Case a
  7.     Case "Julius B. Tanguilig":
  8.       discount = 09268862690 / 425673
  9.       TextBox2.Text = Convert.ToString(discount)
  10.     Case "Jodel D. Avendano":
  11.       discount = 09053146571 / 432467
  12.       TextBox2.Text = Convert.ToString(discount)
  13.     Case "Mara Grantoza":
  14.       discount = 09357648907 / 423094
  15.       TextBox2.Text = Convert.ToString(discount)
  16.     Case Else:
  17.       TextBox2.Text = String.Empty
  18.   End Select
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement