Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : goworkpro.csvbuilder

Very simple and Easy to use, convert Datatables to CSV or CSV to DataTables, Excel to CSV, Read CSV raw string, CSV file, Modification, Set Read Till Criterias, Build CSV Author: Samer Shahbaz Create Date: 15/11/2023 Description: The CsvBuilder utility, developed by Samer Shahbaz, is a powerful tool designed to simplify the process of creating CSV (Comma-Separated Values) files using .NET DataTables or Customely. This utility provides a convenient and efficient way to generate/read CSV data. Key Features: Simplicity: Designed for ease of use, providing a straightforward and user-friendly experience. Customizable Options: Offers flexibility with customizable processing options for CSV data. Excel Conversion: Seamlessly converts Excel files to CSV, enhancing data interoperability. Versatile Construction: Datasets methods and GetValue function accommodate diverse data structures for CSV construction. Usage Examples: Constructor: Static Method for Creating CsvBuilder with Multiple DataTables: CsvBuilder csvBuilder = CsvBuilder.Datasets(dataTable1, dataTable2, ...); Building CSV: csvBuilder.Build(tableIndex1, tableIndex2, ...) Customizing Value Rendering: Subscribe to the ValueRenderEvent to define custom parsing logic for column and row values. Output Handling: Obtain the CSV content as a Stream: Stream csvStream = csvBuilder.GetStream(); Save the CSV content to a file: csvBuilder.SaveAsFile("filePath.csv"); Example #1: // Create CsvBuilder with a DataSet ICsvBuilder csvBuilder = CsvBuilder.Datasets(dataSet); // Build CSV with selected columns from specific DataTables ICsvExtractor csvExtractor = csvBuilder.Build(); // Obtain CSV content as a Stream MemoryStream csvStream = csvExtractor.GetStream(); // Save CSV content to a file csvExtractor.SaveAsFile("output.csv"); //dispose if necessary csvBuilder.Dispose(); This utility simplifies the process of CSV generation, providing users with a flexible and efficient solution for working with tabular data in the .NET environment. For More Information See https://goworkpro.github.io/CSV-Builder-Utility/

Registry - Homepage - JSON
purl: pkg:nuget/goworkpro.csvbuilder
Keywords: CSV, Builder, Dataset, Build, Csv, Comman, Sperated, Values
License:
Latest release: 5 months ago
First release: 6 months ago
Downloads: 9,700 total
Last synced: 5 days ago

    Loading...
    Readme
    Loading...