MikeStall / DataTable

Class library for working with tabular data, especially CSV files
Apache License 2.0
150 stars 63 forks source link

AddRange #45

Open arteny opened 9 years ago

arteny commented 9 years ago

Why there is no AddRange method? I need it when I want to load data from several csv to one DataTable. I find it very useful if you can add it. Thanks.

MikeStall commented 9 years ago

It’s probably not there just because nobody has added it yet. :)

Can you give a code snippet demonstrating what you’d like to be able to do?

From: Alexey [mailto:notifications@github.com] Sent: Sunday, August 9, 2015 10:33 AM To: MikeStall/DataTable DataTable@noreply.github.com Subject: [DataTable] AddRange (#45)

Why there is no AddRange method? I need it when I want to load data from several csv to one DataTable. I find it very useful if you can add it. Thanks.

— Reply to this email directly or view it on GitHub https://github.com/MikeStall/DataTable/issues/45 . https://github.com/notifications/beacon/ABd7VA_puf66P7h5d5g-hDrFohTZ8eMVks5ol4ZVgaJpZM4FoPso.gif

arteny commented 8 years ago

@MikeStall Here is what I need: var data = DataTable.New.ReadCsv(fileName); data.AddRange(DataTable.New.ReadCsv(fileName2));