SuperConvert.Files
1.0.3.6
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
Suggested Alternatives
Additional Details
This package is deprecated, please use SuperConvert instead
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SuperConvert.Files --version 1.0.3.6
NuGet\Install-Package SuperConvert.Files -Version 1.0.3.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SuperConvert.Files" Version="1.0.3.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SuperConvert.Files" Version="1.0.3.6" />
<PackageReference Include="SuperConvert.Files" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SuperConvert.Files --version 1.0.3.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SuperConvert.Files, 1.0.3.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SuperConvert.Files@1.0.3.6
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SuperConvert.Files&version=1.0.3.6
#tool nuget:?package=SuperConvert.Files&version=1.0.3.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Super Convert
Make your data conversion
SuperConvert is a tool to convert your data in c#
- Create some json strings / Data tables
- Convert between them
- Convert DateTime
- Convert Json ⇔ Csv
- Convert DataTable ⇔ Csv
- ✨New Xml/Json Converters ✨
- ✨Magic ✨
Features
- Convert Json to Datatable
- Convert Datatable to Json
- DateTime convert from Gregorian To Hijri
- DateTime convert from Hijri To Gregorian
- Json convert to Csv
- DataTable convert to Csv
- Csv convert to Json
- Csv convert to DataTable
Coming soon !
- Excel sheets (XLS, XLSX) and other data containers/types
Tech
SuperConvet's code is based on .net core technology (netcoreapp3.1, net5.0, net6.0, net7.0)
[.NetCore3.1, .Net5, .Net6] - C# !
GitHub Code - SuperConvert Project
Installation
Run the command on your nuget package console .
Install-Package SuperConvert -Version 1.0.3.6
Or
Open your nuget package manager and type the name of 'SuperConvert' on the search
Usage
Namespaces
using SuperConvert.Extentions;
using System.Data;
Json to dataTable
string customers = "[{\"CompanayID\":\"k123\",\"Role\":\"Admin\",\"Country\":\"UK\",\"Asset\":\"HD\",\"incident\":null}, {\"CompanayID\":\"k234\",\"Role\":\"User\",\"Country\":\"US\",\"Asset\":\"HD12\",\"incident\":\"abc 1\"}]";
DataTable dt = customers.ToDataTable("TableName");
DataTable to json
string json = dt.ToJson();
DateTime GregorianToHijri
DateTime timeNow = DateTime.Now;
DateTime hijri = DateConverter.GregorianToHijri(timeNow);
DateTime HijriToGregorian
DateTime gregorian = DateConverter.HijriToGregorian(hijri);
Excels
Datatable to Csv
string path = string.Empty;
string fileName = "DtToExcel";
string csvPath = dt.ToCsv(path, fileName);
Json To CSV
fileName = "JsonToExcel";
path = string.Empty;
string csvPath = json.ToCsv(path, fileName)
CSV To Json
string jsonFromCsv = ExcelConverter.CsvToJson(csvPath);
CSV To Datatable
DataTable csvDt = ExcelConverter.CsvToDataTable(csvPath);
| Version | README |
|---|---|
| 1.0.3.6 | [https://www.nuget.org/packages/SuperConvert/1.0.3.6] |
| 1.0.3.5 | [https://www.nuget.org/packages/SuperConvert/1.0.3.5] |
| 1.0.3.4 | [https://www.nuget.org/packages/SuperConvert/1.0.3.4] |
| 1.0.3.3 | [https://www.nuget.org/packages/SuperConvert/1.0.3.3] |
| 1.0.3.2 | [https://www.nuget.org/packages/SuperConvert/1.0.3.2] |
| 1.0.3.1 | [Deprecated] |
| 1.0.3 | [https://www.nuget.org/packages/SuperConvert/1.0.3] |
| 1.0.2 | [https://www.nuget.org/packages/SuperConvert/1.0.2] |
| 1.0.1 | [https://www.nuget.org/packages/SuperConvert/1.0.1] |
| 1.0.0 | [https://www.nuget.org/packages/SuperConvert/1.0.0] |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- SuperConvert (>= 1.0.3.6)
-
net5.0
- SuperConvert (>= 1.0.3.6)
-
net6.0
- SuperConvert (>= 1.0.3.6)
-
net7.0
- SuperConvert (>= 1.0.3.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.