Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: c# csv DataSource Post Reply Post New Topic
Author Message
WiglWagl
Newbie
Newbie


Joined: 23 Aug 2016
Online Status: Offline
Posts: 5
Quote WiglWagl Replybullet Topic: c# csv DataSource
    Posted: 29 Aug 2016 at 1:29am
Hi,

how should a csv-File DataSource look like? My problem ist how to
distiguish Header, Table and Footer fields?

Now my CSV-file just look like this:

number,part,count
1234,test1,10
1235,test2,20
12336,test3,30

Thanks
Best regards
Rene
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3701
Quote hilfy Replybullet Posted: 29 Aug 2016 at 7:25am
In a csv file, if field names are included, the first row of the file will always be the field names and any rows after that will be the data.

In some formats of csv, all strings will be surrounded by quotes as well - this is particularly important when the string data includes commas because otherwise it will be assumed that the comma indicates a new field.

-Dell
IP IP Logged
WiglWagl
Newbie
Newbie


Joined: 23 Aug 2016
Online Status: Offline
Posts: 5
Quote WiglWagl Replybullet Posted: 31 Aug 2016 at 1:00am
Thanks a lot

best regards
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.