M
Mohan
Hi Friends,
I have an issue in importing csv file in to a Dot net data
set using Microsoft.Jet.OLEDB.4.0 provider.
I am able to import the csv file in to data set when the
file has less than 256 columns. If it has more than 256
columns, its not importing the columns beyond the 256
columns.
Could you please help me on this.
code snippet:
System.Data.OleDb.OleDbConnection oCon = new
System.Data.OleDb.OleDbConnection(
"Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + PathtoTextFile + ";" +
"Extended
Properties=\"text;HDR=YES;FMT=Delimited\"");
System.Data.OleDb.OleDbDataAdapter oCmd = new
System.Data.OleDb.OleDbDataAdapter(
"select * from ["+ fileName +"]",
oCon);
oCmd.Fill(myDS);
thanks
Mohan
I have an issue in importing csv file in to a Dot net data
set using Microsoft.Jet.OLEDB.4.0 provider.
I am able to import the csv file in to data set when the
file has less than 256 columns. If it has more than 256
columns, its not importing the columns beyond the 256
columns.
Could you please help me on this.
code snippet:
System.Data.OleDb.OleDbConnection oCon = new
System.Data.OleDb.OleDbConnection(
"Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + PathtoTextFile + ";" +
"Extended
Properties=\"text;HDR=YES;FMT=Delimited\"");
System.Data.OleDb.OleDbDataAdapter oCmd = new
System.Data.OleDb.OleDbDataAdapter(
"select * from ["+ fileName +"]",
oCon);
oCmd.Fill(myDS);
thanks
Mohan