Home > Net >  CSV file is read to the datagridview, data not to come out, big help and see what happened?
CSV file is read to the datagridview, data not to come out, big help and see what happened?

Time:10-03

Using the connection string
String connstrcsv=
"The Provider=Microsoft. Jet. The OLEDB. 4.0. Data Source="+ fileName. Remove (fileName. LastIndexOf (" \ ") + 1) + ";
Extended Properties='Text; FMT=Delimited; HDR=YES; '";
After opening goes like this:


I pay attention to the CSV files starting with ID, don't know this reason?
Please give analysis under the bosses
  •  Tags:  
  • C#
  • Related