hello Genius ...!!!!!!
could not get selected item text in combobox selectedindex changed event
return value is "System.Data.DataRowView"
Datasource Code:
Dim TABLE_NAME As New DataTable _ADOBTER.Fill(TABLE_NAME) ComboBox1.DataSource = TABLE_NAME ComboBox1.DisplayMember = "CUSTNAME" ComboBox1.ValueMember = "CUSTNAME" Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged msgbox(ComboBox1.SelectedItem.Tostring) '"System.Data.DataRowView" msgbox(ComboBox1.SelectedText.Tostring) '"System.Data.DataRowView" End Sub
want to get the value from the combobox but i always getting ""System.Data.DataRowView"
help me please
Thanks


Reply With Quote
