'BC50319 error using OleDb.OleDbDataAdapter.Fill
I get the error BC50319 on 'da.Fill(DataTableWorkstation)' which is part of this segment:
Using da As New OleDb.OleDbDataAdapter(oleExcelCommand)
DataTableWorkstation = New System.Data.DataTable
da.Fill(DataTableWorkstation)
End Using
In that line I am opening a .xlsx-file containing data (strings, numbers and dates) and save this data to a DataTable.
As "solution" Microsoft tells me to change to Option Strict Off which I do want to avoid. Is there a another solution for this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
