export the entire datagridview to Word interop?

The Techie

Member
Joined
Nov 26, 2019
Messages
6
Programming Experience
Beginner
How can we export the entire datagridview into the word document using office word interp DLL in C# iam able to achieve this using Spire dll, as it is a free version so it has lot of limitaions to overcome these constraints iam tryng to implement similar logic using office word interop dll.
 

Attachments

  • example.zip
    15.5 KB · Views: 48
Getting data out of a DataGridView and putting data into a Word document are unrelated and should be treated as such. If you want to put data into a Word document, learn how to do that. There's plenty of information around. If you want to put data into a table in Word, learn how to do that. You can also learn to get data out of a DataGridView in isolation. Once you know how to do both, you simply put them together and massage a bit in the middle. I suggest that you do the appropriate research, make an attempt and then post back here if you encounter an actual issue along the way.
 
Back
Top Bottom