Click here to Skip to main content
15,886,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,
I am having one datatable which have Column and set of Rows.
I want to dynamically create content control for WORD using OpenXML. Datatable columnname as TextLabel and Row values will come in content control. Everything should be created in Runtime only.

DataTable:
HTML
NAME         ADDRESS
ALEX         INDIA 
DAVID        USA


These datas should come like below
WORD DOCUMENT

HTML
ALEX<Label>       INDIA<contentControl>
--------------------------------
DAVID<Label>         USA<contentControl>
--------------------------------



Please Help friends... :)
Posted

1 solution

You can always start here.

http://msdn.microsoft.com/en-us/library/office/bb448854(v=office.15).aspx[^]

There you can find the Open XML SDK and also getting started info.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900