specified cast is not valid
问题 Here is a code that retrieve values from the database, but my problem is that it throws out an exception saying "InvalidCastException was unhandled specified cast is not valid". I am now confused what went wrong, The code and the table stated below. Here is the code: Public connstring As String = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source =" & Application.StartupPath & "\TestData.accdb; Persist Security info = false" Public Conn As New OleDbConnection Private Sub TestForm_Load(ByVal