DataTable icon indicating copy to clipboard operation
DataTable copied to clipboard

AddRange

Open arteny opened this issue 10 years ago • 2 comments

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.

arteny avatar Aug 09 '15 17:08 arteny

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:[email protected]] Sent: Sunday, August 9, 2015 10:33 AM To: MikeStall/DataTable [email protected] 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

MikeStall avatar Aug 10 '15 16:08 MikeStall

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

arteny avatar Oct 23 '16 01:10 arteny