N
Nikhil Patel
Hi all,
I need to generate a word document and save it on the server from an
ASP.Net application. Basically I want to load a word template and insert
some field values from a dataset and save the final output as a Word
document. I know there are different options to do this. But I can't decide
which one I should use. I don't want to use automation on the server because
of scalability issues and it is not recommended by Microsoft. So I am
thinking of using an xslt template. I would load the template and insert the
field values from the dataset using XslTransform class. But the problem is
that we will need to change the template frequently and it will be difficult
to change the template in XSLT. The document will be about 5 pages and there
will be only 30 field values(from a single dataset row) that we need insert
into the template. So I think it is not worth keep changing 5 page XSLT
template to insert 30 field values. Is there any other option or is there an
easy way to insert values into word ( xml or other) template from a dataset?
Thanks.
-Nikhil
I need to generate a word document and save it on the server from an
ASP.Net application. Basically I want to load a word template and insert
some field values from a dataset and save the final output as a Word
document. I know there are different options to do this. But I can't decide
which one I should use. I don't want to use automation on the server because
of scalability issues and it is not recommended by Microsoft. So I am
thinking of using an xslt template. I would load the template and insert the
field values from the dataset using XslTransform class. But the problem is
that we will need to change the template frequently and it will be difficult
to change the template in XSLT. The document will be about 5 pages and there
will be only 30 field values(from a single dataset row) that we need insert
into the template. So I think it is not worth keep changing 5 page XSLT
template to insert 30 field values. Is there any other option or is there an
easy way to insert values into word ( xml or other) template from a dataset?
Thanks.
-Nikhil