Answer the question
In order to leave comments, you need to log in
How to read DBF in ASP.net core?
How to read DBF in ASP.net core?
I can't think of anything since there is no OdbcConnection in CORE, how can I do the following in ASP.NET CORE?
OdbcConnection conn = new OdbcConnection();
conn.ConnectionString =
"Driver={Microsoft dBASE Driver (*.dbf)};" +
"Driverid=277;" +
"Dbq=C:\\share\\hotfolder\\";
conn.Open();
System.Data.Odbc.OdbcCommand oCmd = conn.CreateCommand();
oCmd.CommandText = @"SELECT * FROM C:\share\hotfolder\Input.dbf";
DataTable dt = new DataTable();
dt.Load(oCmd.ExecuteReader());
conn.Close();
dataGridView1.DataSource = dt;
Answer the question
In order to leave comments, you need to log in
Have you watched this?
UPD. But didn't you watch this?
As I understand it, they are in .NET Core
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question