We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to convert a CSV or Excel file into PowerPoint presentation

You can convert a CSV or an Excel file into PowerPoint presentation by using Essential Presentation and Essential XlsIO libraries. The conversion process includes the below steps,

 

  1. Export the data from CSV or excel file to a System.Data.DataTable.
  2. Insert the data from DataTable to the tables in PowerPoint slides.

 

The below assemblies are needed to compile the below code examples.

 

  1. Syncfusion.Compression.Base.dll
  2. Syncfusion.Presentation.Base.dll
  3. Syncfusion.XlsIO.Base.dll

 

The Essential XlsIO library can be used to export data from Excel or CSV file to a System.Data.DataTable instance. The below code example demonstrates the same.

 

 

Since the content extended outside the slide will not be visible in Presentation Viewers, you have to restrict the number of data rows to be displayed in each slide. 

 

The following code example demonstrates splitting a large DataTable instance into many small DataTable instances according to the specified size.

 

 

 

 

You can insert the data from DataTable as table in the slides of a PowerPoint presentation. The below code snippets demonstrates the same.

 

 

 

You can find the complete sample here.

Article ID: Published Date: Last Revised Date: Platform: Control:
5886 12/15/2015 12/19/2015 Windows Forms Presentation
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.