diff --git a/CSV to Excel/CSV to Excel/.NET/CSV to Excel/README.md b/CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/README.md similarity index 60% rename from CSV to Excel/CSV to Excel/.NET/CSV to Excel/README.md rename to CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/README.md index c96753a2..0e79226d 100644 --- a/CSV to Excel/CSV to Excel/.NET/CSV to Excel/README.md +++ b/CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/README.md @@ -1,4 +1,8 @@ -# How to convert a CSV to an Excel file?? +# Convert a CSV to an Excel document using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **convert a CSV to an Excel document** using C#. + +## Steps to convert a CSV to an Excel document programmatically Step 1: Create a new C# Console Application project. @@ -7,15 +11,12 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` -Step 5: Include the below code snippet in **Program.cs** to convert a CSV to an Excel fil. -{% tabs %} -{% highlight c# tabtitle="C#" %} +Step 5: Include the below code snippet in **Program.cs** to convert a CSV to an Excel document. +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -34,5 +35,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) outputStream.Dispose(); inputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about converting a CSV to an Excel document can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/conversions/csv-to-excel/net/csv-to-excel-conversion) section. \ No newline at end of file diff --git a/Conditional Formatting/Create Conditional Format/.NET/Create Conditional Format/README.md b/Conditional Formatting/Create Conditional Format/.NET/Create Conditional Format/Create Conditional Format/README.md similarity index 79% rename from Conditional Formatting/Create Conditional Format/.NET/Create Conditional Format/README.md rename to Conditional Formatting/Create Conditional Format/.NET/Create Conditional Format/Create Conditional Format/README.md index 2fcb2955..c6cdcf64 100644 --- a/Conditional Formatting/Create Conditional Format/.NET/Create Conditional Format/README.md +++ b/Conditional Formatting/Create Conditional Format/.NET/Create Conditional Format/Create Conditional Format/README.md @@ -1,4 +1,8 @@ -# How to apply conditional formatting in the worksheet? +# Apply conditional formatting in the worksheet using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **apply conditional formatting in the worksheet** using C#. + +## Steps to apply conditional formatting in the worksheet programmatically Step 1: Create a new C# Console Application project. @@ -7,16 +11,13 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System.IO; using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to apply conditional formatting in the worksheet. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -76,5 +77,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) //Dispose streams outputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about applying conditional formatting in the worksheet can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-conditional-formatting#create-a-conditional-format) section. \ No newline at end of file diff --git a/Convert Excel to JSON/Workbook to JSON with Schema/.NET/Workbook to JSON with Schema/README.md b/Convert Excel to JSON/Workbook to JSON with Schema/.NET/Workbook to JSON with Schema/Workbook to JSON with Schema/README.md similarity index 67% rename from Convert Excel to JSON/Workbook to JSON with Schema/.NET/Workbook to JSON with Schema/README.md rename to Convert Excel to JSON/Workbook to JSON with Schema/.NET/Workbook to JSON with Schema/Workbook to JSON with Schema/README.md index e4d31367..a344fb5c 100644 --- a/Convert Excel to JSON/Workbook to JSON with Schema/.NET/Workbook to JSON with Schema/README.md +++ b/Convert Excel to JSON/Workbook to JSON with Schema/.NET/Workbook to JSON with Schema/Workbook to JSON with Schema/README.md @@ -1,4 +1,8 @@ -# How to convert an Excel workbook to a JSON file with schema? +# Convert an Excel workbook to a JSON file with schema using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **convert an Excel workbook to a JSON file with schema** using C#. + +## Steps to convert Excel workbook to a JSON file with schema programmatically Step 1: Create a new C# Console Application project. @@ -7,17 +11,14 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System; using System.IO; using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to convert an Excel workbook to a JSON file with schema. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -47,5 +48,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) //Open JSON with Schema #endregion } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about converting an Excel workbook to a JSON file with schema can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/conversions/excel-to-json/overview#workbook-to-json-as-schema) section. \ No newline at end of file diff --git a/Create and Edit Charts/Create Chart/.NET/Create Chart/README.md b/Create and Edit Charts/Create Chart/.NET/Create Chart/Create Chart/README.md similarity index 75% rename from Create and Edit Charts/Create Chart/.NET/Create Chart/README.md rename to Create and Edit Charts/Create Chart/.NET/Create Chart/Create Chart/README.md index 7c2e82a0..8d5e6d62 100644 --- a/Create and Edit Charts/Create Chart/.NET/Create Chart/README.md +++ b/Create and Edit Charts/Create Chart/.NET/Create Chart/Create Chart/README.md @@ -1,4 +1,8 @@ -# How to create a chart in the worksheet? +# Create a chart in the worksheet using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **create a chart in the worksheet** using C#. + +## Steps to create a chart in the worksheet programmatically Step 1: Create a new C# Console Application project. @@ -7,16 +11,13 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System.IO; using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to create a chart in the worksheet. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -64,5 +65,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) outputStream.Dispose(); inputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about creating a chart in the worksheet can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-charts#creating-a-chart) section. \ No newline at end of file diff --git a/Create and Edit Formulas/Set Formula/.NET/Set Formula/README.md b/Create and Edit Formulas/Set Formula/.NET/Set Formula/Set Formula/README.md similarity index 64% rename from Create and Edit Formulas/Set Formula/.NET/Set Formula/README.md rename to Create and Edit Formulas/Set Formula/.NET/Set Formula/Set Formula/README.md index d7a4d379..00e0414d 100644 --- a/Create and Edit Formulas/Set Formula/.NET/Set Formula/README.md +++ b/Create and Edit Formulas/Set Formula/.NET/Set Formula/Set Formula/README.md @@ -1,4 +1,8 @@ -# How to set a formula in an Excel cell? +# Set a formula in an Excel cell using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **set a formula in an Excel cell** using C#. + +## Steps to set a formula in an Excel cell programmatically Step 1: Create a new C# Console Application project. @@ -7,16 +11,13 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System.IO; using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to set a formula in an Excel cell. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -42,5 +43,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) //Dispose streams outputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about setting a formula in an Excel cell can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-formulas#writing-a-formula) section. \ No newline at end of file diff --git a/Create and Edit Table/Create Table/.NET/Create Table/README.md b/Create and Edit Table/Create Table/.NET/Create Table/Create Table/README.md similarity index 65% rename from Create and Edit Table/Create Table/.NET/Create Table/README.md rename to Create and Edit Table/Create Table/.NET/Create Table/Create Table/README.md index 71a24608..f8e394e2 100644 --- a/Create and Edit Table/Create Table/.NET/Create Table/README.md +++ b/Create and Edit Table/Create Table/.NET/Create Table/Create Table/README.md @@ -1,4 +1,8 @@ -# How to create a table in the worksheet? +# Create a table in the worksheet using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **create a table in the worksheet** using C#. + +## Steps to create a table in the worksheet programmatically Step 1: Create a new C# Console Application project. @@ -7,17 +11,14 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System; using System.IO; using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to create a table in the worksheet. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -39,5 +40,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) inputStream.Dispose(); outputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about creating a table in the worksheet can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-excel-tables#creating-a-table) section. \ No newline at end of file diff --git a/Data Validation/List Validation/.NET/List Validation/README.md b/Data Validation/List Validation/.NET/List Validation/List Validation/README.md similarity index 67% rename from Data Validation/List Validation/.NET/List Validation/README.md rename to Data Validation/List Validation/.NET/List Validation/List Validation/README.md index 9ff06b6f..dc4e9ca6 100644 --- a/Data Validation/List Validation/.NET/List Validation/README.md +++ b/Data Validation/List Validation/.NET/List Validation/List Validation/README.md @@ -1,4 +1,8 @@ -# How to set list data validation in Excel? +# Set list data validation in an Excel document using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **set list data validation in an Excel document** using C#. + +## Steps to set list data validation in an Excel document programmatically Step 1: Create a new C# Console Application project. @@ -7,16 +11,12 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System.IO; using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} - -Step 5: Include the below code snippet in **Program.cs** to set list data validation in Excel. -{% tabs %} -{% highlight c# tabtitle="C#" %} +``` +Step 5: Include the below code snippet in **Program.cs** to set list data validation in an Excel document. +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -46,5 +46,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) //Dispose streams outputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about setting list data validation in an Excel document can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-data-validation#list-validation) section. \ No newline at end of file diff --git a/Excel to CSV/Excel to CSV/.NET/Excel to CSV/README.md b/Excel to CSV/Excel to CSV/.NET/Excel to CSV/Excel to CSV/README.md similarity index 59% rename from Excel to CSV/Excel to CSV/.NET/Excel to CSV/README.md rename to Excel to CSV/Excel to CSV/.NET/Excel to CSV/Excel to CSV/README.md index 69e16ef0..9e06e8b5 100644 --- a/Excel to CSV/Excel to CSV/.NET/Excel to CSV/README.md +++ b/Excel to CSV/Excel to CSV/.NET/Excel to CSV/Excel to CSV/README.md @@ -1,4 +1,8 @@ -# How to convert an Excel file to CSV? +# Convert an Excel document to CSV using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **convert an Excel document to CSV** using C#. + +## Steps to convert an Excel document to CSV programmatically Step 1: Create a new C# Console Application project. @@ -7,15 +11,12 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` -Step 5: Include the below code snippet in **Program.cs** to convert an Excel file to CSV. -{% tabs %} -{% highlight c# tabtitle="C#" %} +Step 5: Include the below code snippet in **Program.cs** to convert an Excel document to CSV. +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -31,5 +32,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) outputStream.Dispose(); inputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about converting an Excel document to CSV can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/conversions/excel-to-csv/net/excel-to-csv-conversion) section. \ No newline at end of file diff --git a/Excel to PDF/Workbook to PDF/.NET/Workbook to PDF/README.md b/Excel to PDF/Workbook to PDF/.NET/Workbook to PDF/Workbook to PDF/README.md similarity index 66% rename from Excel to PDF/Workbook to PDF/.NET/Workbook to PDF/README.md rename to Excel to PDF/Workbook to PDF/.NET/Workbook to PDF/Workbook to PDF/README.md index 6412bdd2..405d6819 100644 --- a/Excel to PDF/Workbook to PDF/.NET/Workbook to PDF/README.md +++ b/Excel to PDF/Workbook to PDF/.NET/Workbook to PDF/Workbook to PDF/README.md @@ -1,4 +1,8 @@ -# How to convert an Excel workbook to PDF? +# Convert an Excel workbook to PDF using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **convert an Excel workbook to PDF** using C#. + +## Steps to convert an Excel workbook to PDF programmatically Step 1: Create a new C# Console Application project. @@ -7,18 +11,15 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System.IO; using Syncfusion.XlsIO; using Syncfusion.XlsIORenderer; using Syncfusion.Pdf; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to convert an Excel workbook to PDF. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -42,5 +43,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) outputStream.Dispose(); inputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about converting an Excel workbook to PDF can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/conversions/excel-to-pdf/net/excel-to-pdf-conversion#workbook-to-pdf) section. \ No newline at end of file diff --git a/Getting Started/Console/.NET/Create Excel/README.md b/Getting Started/Console/.NET/Create Excel/Create Excel/README.md similarity index 93% rename from Getting Started/Console/.NET/Create Excel/README.md rename to Getting Started/Console/.NET/Create Excel/Create Excel/README.md index 64d46202..8cd73bcc 100644 --- a/Getting Started/Console/.NET/Create Excel/README.md +++ b/Getting Started/Console/.NET/Create Excel/Create Excel/README.md @@ -1,4 +1,8 @@ -# How to create an Excel file in console application? +# Create an Excel document using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **create an Excel document** using C#. + +## Steps to create an Excel document programmatically Step 1: Create a new C# Console Application project. @@ -7,17 +11,16 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} + +```csharp using System; using Syncfusion.XlsIO; using Syncfusion.Drawing; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to create an Excel file in console application. -{% tabs %} -{% highlight c# tabtitle="C#" %} + +```csharp //Create an instance of ExcelEngine using (ExcelEngine excelEngine = new ExcelEngine()) { @@ -193,5 +196,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) FileStream stream = new FileStream(Path.GetFullPath(@"Output/Output.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(stream); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about creating an Excel document can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/create-excel-files-in-console-apps-c-sharp) section. \ No newline at end of file diff --git a/Import Data to Template/Import Data Table/.NET/Import Data Table/README.md b/Import Data to Template/Import Data Table/.NET/Import Data Table/Import Data Table/README.md similarity index 75% rename from Import Data to Template/Import Data Table/.NET/Import Data Table/README.md rename to Import Data to Template/Import Data Table/.NET/Import Data Table/Import Data Table/README.md index b6f54d01..4a0e6c89 100644 --- a/Import Data to Template/Import Data Table/.NET/Import Data Table/README.md +++ b/Import Data to Template/Import Data Table/.NET/Import Data Table/Import Data Table/README.md @@ -1,4 +1,8 @@ -# How to bind data from a data table to a template marker? +# Bind data from a data table to a template marker using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **bind data from a data table to a template marker** using C#. + +## Steps to bind data from a data table to a template marker programmatically Step 1: Create a new C# Console Application project. @@ -7,18 +11,15 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System; using System.Data; using System.IO; using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to bind data from a data table to a template marker. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -60,5 +61,8 @@ using (ExcelEngine excelEngine = new ExcelEngine()) outputStream.Dispose(); inputStream.Dispose(); } +``` {% endhighlight %} -{% endtabs %} \ No newline at end of file +{% endtabs %} + +More information about binding data from a data table to a template marker can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-template-markers#bind-from-datatable) section. \ No newline at end of file diff --git a/Import and Export Data/DataTable to Worksheet/.NET/DataTable to Worksheet/README.md b/Import and Export Data/DataTable to Worksheet/.NET/DataTable to Worksheet/DataTable to Worksheet/README.md similarity index 72% rename from Import and Export Data/DataTable to Worksheet/.NET/DataTable to Worksheet/README.md rename to Import and Export Data/DataTable to Worksheet/.NET/DataTable to Worksheet/DataTable to Worksheet/README.md index bd30636e..68346a0f 100644 --- a/Import and Export Data/DataTable to Worksheet/.NET/DataTable to Worksheet/README.md +++ b/Import and Export Data/DataTable to Worksheet/.NET/DataTable to Worksheet/DataTable to Worksheet/README.md @@ -1,4 +1,8 @@ -# How to import data from DataTable to Excel? +# Import data from DataTable to an Excel document using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **import data from DataTable to an Excel document** using C#. + +## Steps to import data from DataTable to an Excel document programmatically Step 1: Create a new C# Console Application project. @@ -7,15 +11,12 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` -Step 5: Include the below code snippet in **Program.cs** to import data from DataTable to Excel. -{% tabs %} -{% highlight c# tabtitle="C#" %} +Step 5: Include the below code snippet in **Program.cs** to import data from DataTable to an Excel document. +```csharp class Program { static void Main(string[] args) @@ -63,5 +64,6 @@ class Program return table; } } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about importing data from a data table to an Excel document can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/import-export/import-to-excel#datatable-to-excel) section. \ No newline at end of file diff --git a/Pivot Table/Create Pivot Table/.NET/Create Pivot Table/README.md b/Pivot Table/Create Pivot Table/.NET/Create Pivot Table/Create Pivot Table/README.md similarity index 72% rename from Pivot Table/Create Pivot Table/.NET/Create Pivot Table/README.md rename to Pivot Table/Create Pivot Table/.NET/Create Pivot Table/Create Pivot Table/README.md index 4bc89a98..9fc2dfd7 100644 --- a/Pivot Table/Create Pivot Table/.NET/Create Pivot Table/README.md +++ b/Pivot Table/Create Pivot Table/.NET/Create Pivot Table/Create Pivot Table/README.md @@ -1,4 +1,8 @@ -# How to create a pivot table in the worksheet? +# Create a pivot table in the worksheet using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **create a pivot table in the worksheet** using C#. + +## Steps to create a pivot table in the worksheet programmatically Step 1: Create a new C# Console Application project. @@ -7,16 +11,12 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System.IO; using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} - +``` Step 5: Include the below code snippet in **Program.cs** to create a pivot table in the worksheet. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -51,5 +51,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) outputStream.Dispose(); inputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about creating a pivot table in the worksheet can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-pivot-tables#create) section. \ No newline at end of file diff --git a/Threaded Comments/Add Comment/.NET/Add Comment/README.md b/Threaded Comments/Add Comment/.NET/Add Comment/Add Comment/README.md similarity index 66% rename from Threaded Comments/Add Comment/.NET/Add Comment/README.md rename to Threaded Comments/Add Comment/.NET/Add Comment/Add Comment/README.md index 3c9a52b5..d8617720 100644 --- a/Threaded Comments/Add Comment/.NET/Add Comment/README.md +++ b/Threaded Comments/Add Comment/.NET/Add Comment/Add Comment/README.md @@ -1,4 +1,8 @@ -# How to add threaded comments in the worksheet? +# Add threaded comments in the worksheet using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **add threaded comments in the worksheet** using C#. + +## Steps to add threaded comments in the worksheet programmatically Step 1: Create a new C# Console Application project. @@ -7,17 +11,14 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System; using System.IO; using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to add threaded comments in the worksheet. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -40,5 +41,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) //Dispose streams outputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about adding a threaded comments in the worksheet can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-drawing-objects#create) section. \ No newline at end of file diff --git a/Worksheet to Image/Worksheet to Image/.NET/Worksheet to Image/README.md b/Worksheet to Image/Worksheet to Image/.NET/Worksheet to Image/Worksheet to Image/README.md similarity index 64% rename from Worksheet to Image/Worksheet to Image/.NET/Worksheet to Image/README.md rename to Worksheet to Image/Worksheet to Image/.NET/Worksheet to Image/Worksheet to Image/README.md index 9ed1ba02..ab70d5e7 100644 --- a/Worksheet to Image/Worksheet to Image/.NET/Worksheet to Image/README.md +++ b/Worksheet to Image/Worksheet to Image/.NET/Worksheet to Image/Worksheet to Image/README.md @@ -1,4 +1,8 @@ -# How to convert an Excel worksheet to an image? +# Convert an Excel worksheet to an image using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **convert an Excel worksheet to an image** using C#. + +## Steps to convert an Excel worksheet to an image programmatically Step 1: Create a new C# Console Application project. @@ -7,17 +11,14 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using System.IO; using Syncfusion.XlsIO; using Syncfusion.XlsIORenderer; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to convert an Excel worksheet to an image. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -39,5 +40,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) outputStream.Dispose(); inputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about converting an Excel worksheet to an image can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/conversions/excel-to-image/overview#save-as-stream) section. \ No newline at end of file diff --git a/XlsIO-Excel-Protect-UnProtect/Protect-Workbook/.NET/Protect-Workbook/README.md b/XlsIO-Excel-Protect-UnProtect/Protect-Workbook/.NET/Protect-Workbook/ProtectWorkbook/README.md similarity index 65% rename from XlsIO-Excel-Protect-UnProtect/Protect-Workbook/.NET/Protect-Workbook/README.md rename to XlsIO-Excel-Protect-UnProtect/Protect-Workbook/.NET/Protect-Workbook/ProtectWorkbook/README.md index f84342af..af87f9b4 100644 --- a/XlsIO-Excel-Protect-UnProtect/Protect-Workbook/.NET/Protect-Workbook/README.md +++ b/XlsIO-Excel-Protect-UnProtect/Protect-Workbook/.NET/Protect-Workbook/ProtectWorkbook/README.md @@ -1,4 +1,8 @@ -# How to protect a workbook with a password? +# Protect a workbook with a password using C# + +The Syncfusion® [.NET Excel Library](https://www.syncfusion.com/document-processing/excel-framework/net/excel-library) (XlsIO) enables you to create, read, and edit Excel documents programmatically without Microsoft Excel or interop dependencies. Using this library, you can **protect a workbook with a password** using C#. + +## Steps to protect a workbook with a password programmatically Step 1: Create a new C# Console Application project. @@ -7,17 +11,14 @@ Step 2: Name the project. Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org). Step 4: Include the following namespaces in the **Program.cs** file. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```chsharp using System; using System.IO; using Syncfusion.XlsIO; -{% endhighlight %} -{% endtabs %} +``` Step 5: Include the below code snippet in **Program.cs** to protect a workbook with a password. -{% tabs %} -{% highlight c# tabtitle="C#" %} +```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; @@ -41,5 +42,6 @@ using (ExcelEngine excelEngine = new ExcelEngine()) outputStream.Dispose(); inputStream.Dispose(); } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +``` + +More information about protecting a workbook with a password can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/security#protect-workbook) section. \ No newline at end of file