Re: [Vala] open and read a csv file



Have a look at
https://github.com/ktt-ol/serial-barcode-scanner/blob/master/src/web/csv.vala
for a split regexp and how to deal with quotes.  Should be fairly
straightforward to use an existing io class (FileStream if reading from a
file) as the basis for your data source.

Regards,

Andy

On Fri, Oct 17, 2014 at 12:42 AM, Jason Scurtu <scurtu mail de> wrote:

Hi,

I am new to vala and gnome programming and I am looking for a way to open
and read a csv file.
Still toying with it and trying to figure everything out.
Basicly, I want to open a csv and write the data to a SQLite database and
display it in a GridView .. but, how to read a CSV?
I come from a C# background and I can hardly find any doucumentation or a
app that does something similar (code peek).

Im using Arch with the latest Vala release : 0.26.1 .

Please, can someone help me get started. Would really apprieciate it.

Thanks

Jason


-------------------------------------------------------------------------------------------------
FreeMail powered by mail.de - MEHR SICHERHEIT, SERIOSITÄT UND KOMFORT
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]