Skip to content

Commit 31fa2ec

Browse files
authored
Update Import-to-Excel.md
1 parent 318d8b0 commit 31fa2ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Document-Processing/Excel/Excel-Library/NET/Import-Export/Import-to-Excel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ N> XlsIO imports the data from data table into Excel worksheet based on the data
7777

7878
### Preserve Data Types
7979

80-
To preserve data types when importing a DataTable into an Excel worksheet and prevent Excel's automatic type conversions, set the **preserveTypes** parameter of the <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_ImportDataTable_System_Data_DataTable_System_Boolean_System_Int32_System_Int32_System_Boolean_">ImportDataTable</a> method to **true**.
80+
To preserve data types when importing a DataTable into an Excel worksheet, set the **preserveTypes** parameter of the <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_ImportDataTable_System_Data_DataTable_System_Boolean_System_Int32_System_Int32_System_Boolean_">ImportDataTable</a> method to **true**.
8181

8282
{% tabs %}
8383
{% highlight c# tabtitle="C# [Cross-platform]" %}
@@ -2627,4 +2627,4 @@ Using excelEngine As ExcelEngine = New ExcelEngine()
26272627
workbook.SaveAs("Output.xlsx")
26282628
End Using
26292629
{% endhighlight %}
2630-
{% endtabs %}
2630+
{% endtabs %}

0 commit comments

Comments
 (0)