Linq to Word Document

Hi,

I just saw a great video where you can create an Excel document using LINQ. My question is:

Can I do the same document with Word? Create a Word document from my Database for editing and then allow the users to be able to edit that information and save back to SQL.

This is new to me, but I am extremely intrigued and eager to learn!

Thanks
ALawrence007Asked:
Who is Participating?
 
sjturner2Connect With a Mentor Commented:
I presume the video you watched used Linq to xml to access an Office 2007 Excel document. (.xlsx)

There would be no reason why you would not be able to apply the same principles to a Word Xml file (.docx).

This website may help you:

http://openxmldeveloper.org (http://openxmldeveloper.org/articles/OpenXMLDocFromDotNetWebVersion.aspx)




0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.