Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox2.SelectedIndexChanged Dim intSelectedIndex As Integer intSelectedIndex = ComboBox2.SelectedIndex Dim objSelectedItem As Object objSelectedItem = ComboBox2.SelectedValue TextBox6.Text = objSelectedItem.ToString() End Sub End Class
I HAVE THIS ERROR Object reference not set to an instance of an object.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)