combo Boxes

gomindi

Active member
Joined
Aug 28, 2002
Messages
25
Location
UT
I am new to VB.NET and need a little help with combo boxes.

basically I want to perform a calculation from two comboboxes.

so if A combo box choice 1 were selected and B combobox choice 3 were selected I want to calculate the two and show it in a table.

Any help?!! Please!!
 
Code:
Dim i As Integer = Int32.Parse(ComboBox1.Text) + Int32.Parse(ComboBox2.Text)
MessageBox.Show(i.ToString(), Application.ProductName)
 
Back
Top