Solved

Linq to Word Document

Posted on 2007-11-16
1
378 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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