Skip to Content
0
Oct 24, 2022 at 12:57 PM

Using Docx file in Crystal Reports With C#

123 Views

Hello I am trying to upload a Docx file to Crystal Reports with C#.

In VBA if we select a .doc file in "filedialog", VBA converts the document into an ole object and this object can be stored in SQL server and also it can be used in Crystal Reports afterwards. But in C# if I use XML reader or FileStream I can't use it in Crystal Reports (if there was an image only I could have extract the image but sometimes there is also text in .docx file so I need whole document to use it in CR.).

Does Anyone know how can I use docx file in crystal reports.