I'm trying to parse a CSV to DataTable in a VB.NET project, the issue is that when i'm importing the CSV file, the columns where the values are float like ;2,08;2;0,82 are imported as 30/12/1899 02:08:00 and 30/12/1899 02:00:00
How could i prevent the oledb on formatting the data?
Here is how i'm loading the csv to datatable:
Dim con As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & path & ";Extended Properties=""text;HDR=YES;FMT=Delimited(;)""")
con.Open()
Dim da As New OleDbDataAdapter(sqlquery, con)
da.Fill(dt)
And in the same folder where the CSV is i have the schema.ini with the following content:
[anar_adm.csv]
Format=Delimited(;)