E
Emil Stoev
Hi,
I have some problems when filling a datatable with lots of data.
Here's the code I use:
OleDbConnection conDBF = null;
conDBF = new OleDbConnection("provider=VFPOLEDB.1 ;data source='" +
DBFDir + "';password='';user id=''");
OleDbDataAdapter daDBFF = new OleDbDataAdapter("Select * FROM " +
DBFFile, conDBF);
DataTable dtDBF = new DataTable();
daDBFF.Fill( dtDBF );
It works perfectly with small data but where the .DBF file has more than
400K records it just hangs.
Any ideas?
I have some problems when filling a datatable with lots of data.
Here's the code I use:
OleDbConnection conDBF = null;
conDBF = new OleDbConnection("provider=VFPOLEDB.1 ;data source='" +
DBFDir + "';password='';user id=''");
OleDbDataAdapter daDBFF = new OleDbDataAdapter("Select * FROM " +
DBFFile, conDBF);
DataTable dtDBF = new DataTable();
daDBFF.Fill( dtDBF );
It works perfectly with small data but where the .DBF file has more than
400K records it just hangs.
Any ideas?