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/XlsIO/Working-with-Data.md
+4-4Lines changed: 4 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
---
@@ -2244,7 +2244,7 @@ using (ExcelEngine excelEngine = new ExcelEngine())
2244
2244
IWorksheet worksheet = workbook.Worksheets[0];
2245
2245
2246
2246
//Read data from the worksheet and Export to the DataTable
//Binding exported DataTable to data grid, likewise it can binded to any
2270
2270
//user interface control which supports binding
@@ -2283,7 +2283,7 @@ Using excelEngine As ExcelEngine = New ExcelEngine()
2283
2283
Dim sheet As IWorksheet = workbook.Worksheets(0)
2284
2284
2285
2285
'Read data from the worksheet and Export to the DataTable
2286
-
Dim customersTable As DataTable = sheet.ExportDataTable(sheet.UsedRange, ExcelExportDataTableOptions.ColumnNames)
2286
+
Dim customersTable As DataTable = sheet.ExportDataTable(sheet.UsedRange, ExcelExportDataTableOptions.ColumnNames Or ExcelExportDataTableOptions.ComputedFormulaValues)
2287
2287
2288
2288
'Binding exported DataTable to data grid, likewise it can binded to any
0 commit comments