Export Microsoft Access Database to Word Document in ASP.Net

dnnyobi
 
on Aug 30, 2019 10:55 PM
3170 Views

I want to export all the data in Microsoft Access database table to word with format using vb.net.

Download FREE API for Word, Excel and PDF in ASP.Net: Download
Andrea
 
on Aug 30, 2019 10:55 PM
dnnyobi
 
on Aug 30, 2019 11:56 PM

I do not want to save word document, I only want to export database records to word document with format for documentation. Thank you.

dharmendr
 
on Sep 03, 2019 12:19 AM

Hi dnnyobi,

Refer below links.

Reading records from Microsoft Access database.

How to connect MS Access DataBase in ASP.Net using VB.Net

Export to word document.

Export DataSet or DataTable to Word Excel PDF and CSV Formats

dnnyobi
 
on Sep 03, 2019 01:49 AM
Thanks for the effort. I want it exported without table and different fonts and text color.
dharmendr
 
on Sep 03, 2019 07:47 AM

Hi dnnyobi,

Based on your requirement dynamically generate html using StringBuilder and then export it to word format.

Refer below link for sample example.

Export Formatted HTML to Word Document in ASP.Net using C# and VB.Net