The conversion from string "Select" to type 'Integer' is not valid.

  • Thread starter Thread starter Bajtitou
  • Start date Start date
B

Bajtitou

Guest
Hi,

I need your help,

I get "The conversion from string "Select" to type 'Integer' is not valid." error,

When selecting the combobox items:

1420648.png

Here is the code:

Private Sub ComboTest_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboTest.SelectedIndexChanged
If Not IsNothing(_bs1) Then
_bs1.Position = ComboTest.SelectedIndex
End If
ShowRacesTest()
End Sub
Private Sub ShowRacesTest()
If Not String.IsNullOrEmpty(ComboTest.Text) Then
_bs2.DataSource = opsd.DataALLPontes(ComboTest.Text)
Dgv.DataSource = _bs2
Dgv.ExpandColumns()
End If
End Sub
Thank you very Much and Best Regards.

Continue reading...
 
Back
Top