I am using VB 2013 and trying to send values from a dropdown to a message box, but it's returning 0. My code is as below : 
	
	
	
		
Where have I gone wrong? Appreciate any help / suggestion. I am completely new to Vb.net
				
			
		C++:
	
	    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim value1 As String
        Dim value2 As String
        value1 = Val(Project_Name.SelectedItem)
        value2 = Val(ComboBox2.SelectedItem)
        Windows.Forms.MessageBox.Show(value1, value2)
    End SubWhere have I gone wrong? Appreciate any help / suggestion. I am completely new to Vb.net
 
				
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		
 Facebook
Facebook Twitter
Twitter