Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Linq to Word Document

Posted on 2007-11-16
1
383 Views
Last Modified: 2013-11-26
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
0
Comment
Question by:ALawrence007
1 Comment
 
LVL 8

Accepted Solution

by:
sjturner2 earned 500 total points
ID: 20350517
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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question