Solved

Linq to Word Document

Posted on 2007-11-16
1
386 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
[X]
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
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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server Connection String through a VPN 8 65
Get month and date in a format 4 45
Why use this lambda? 12 62
VB.net/VSTO Excel Add-in 2 16
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…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

756 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