You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: File-Formats-toc.html
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1687,6 +1687,8 @@
1687
1687
<li><ahref="/file-formats/xlsio/faqs/how-to-find-and-replace-text-in-hyperlinks">How to find and replace text in hyperlinks</a></li>
1688
1688
<li><ahref="/file-formats/xlsio/faqs/how-to-fix-the-argument-out-of-range-exception-when-accessing-a-large-number-of-rows-and-columns">How to fix the ArgumentOutOfRangeException when accessing a large number of rows and columns?</a></li>
1689
1689
<li><ahref="/file-formats/xlsio/faqs/how-to-set-logarithmic-axis-for-chart-in-excel-document">How to set Logarithmic axis for chart in Excel document?</a></li>
1690
+
<li><ahref="/file-formats/xlsio/faqs/how-to-resolve-performance-issue-when-deleting-a-large-number-of-rows">How to resolve performance issue when deleting a large number of rows?</a></li>
1691
+
<li><ahref="/file-formats/xlsio/faqs/how-to-hide-columns-using-column-name">How to hide columns using column name?</a></li>
Copy file name to clipboardExpand all lines: File-Formats/XlsIO/FAQ.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,8 @@ The frequently asked questions in Essential XlsIO are listed below.
79
79
*[Why cone chart shows itself as column or bar chart?](faqs/why-cone-chart-shows-itself-as-colum-or-bar-chart)
80
80
*[How to vary colors by point for line and column chart?](faqs/how-to-vary-colors-by-point-for-line-and-column-chart)
81
81
*[How to upload a file to Azure blob and download as stream?](faqs/how-to-upload-a-file-to-azure-blob-and-download-as-stream)
82
-
*[How to find and replace text in hyperlinks](faqs/how-to-find-and-replace-text-in-hyperlinks)
82
+
*[How to find and replace text in hyperlinks?](faqs/how-to-find-and-replace-text-in-hyperlinks)
83
83
*[How to fix the ArgumentOutOfRangeException when accessing a large number of rows and columns?](faqs/how-to-fix-the-argument-out-of-range-exception-when-accessing-a-large-number-of-rows-and-columns)
84
-
*[How to set Logarithmic axis for chart in Excel document](faqs/how-to-set-logarithmic-axis-for-chart-in-excel-document)
84
+
*[How to set Logarithmic axis for chart in Excel document?](faqs/how-to-set-logarithmic-axis-for-chart-in-excel-document)
85
+
*[How to resolve performance issue when deleting a large number of rows?](faqs/how-to-resolve-performance-issue-when-deleting-a-large-number-of-rows)
86
+
*[How to hide columns using column name](faqs/how-to-hide-columns-using-column-name)
Copy file name to clipboardExpand all lines: File-Formats/XlsIO/Working-with-Data.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Working with Data | Syncfusion
3
3
description: Learn how to import data to Excel file from ADO.NET objects, Collections, Array; and how to export data from Excel to ADO.NET objects or collections.
4
-
platform: file-Formats
4
+
platform: file-formats
5
5
control: XlsIO
6
6
documentation: UG
7
7
---
@@ -81,6 +81,8 @@ End Using
81
81
82
82
A complete working example to import data from DataTable to Excel worksheet in C# is present on [this GitHub page](https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Import%20and%20Export%20Data/DataTable%20to%20Worksheet).
83
83
84
+
N> XlsIO imports the data from data table into Excel worksheet based on the data table column type. So, it is suggested to create the data tables with required column types such as number, text or date time before importing the data table to Excel worksheet.
85
+
84
86
### Import Data from DataColumn
85
87
86
88
The following code snippet illustrates how to import DataColumn into a worksheet using [ImportDataColumn](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_ImportDataColumn_System_Data_DataColumn_System_Boolean_System_Int32_System_Int32_) method.
@@ -2244,7 +2246,7 @@ using (ExcelEngine excelEngine = new ExcelEngine())
2244
2246
IWorksheet worksheet = workbook.Worksheets[0];
2245
2247
2246
2248
//Read data from the worksheet and Export to the DataTable
//Binding exported DataTable to data grid, likewise it can binded to any
2270
2272
//user interface control which supports binding
@@ -2283,7 +2285,7 @@ Using excelEngine As ExcelEngine = New ExcelEngine()
2283
2285
Dim sheet As IWorksheet = workbook.Worksheets(0)
2284
2286
2285
2287
'Read data from the worksheet and Export to the DataTable
2286
-
Dim customersTable As DataTable = sheet.ExportDataTable(sheet.UsedRange, ExcelExportDataTableOptions.ColumnNames)
2288
+
Dim customersTable As DataTable = sheet.ExportDataTable(sheet.UsedRange, ExcelExportDataTableOptions.ColumnNames Or ExcelExportDataTableOptions.ComputedFormulaValues)
2287
2289
2288
2290
'Binding exported DataTable to data grid, likewise it can binded to any
N> XlsIO supports only one marker for each cell while importing data from data sources to Excel templates. This is the behavior of template marker in XlsIO.
77
+
76
78
## Bind from Array
77
79
78
80
An array of data can be binded to the marker in the template document.
0 commit comments