473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

dynamic word document generation

In asp.net/SQL Server application based on business rules, I would like to
dynamically generate word documents. Content and layout would be fully
customized.How do I go about doing it?

I could use XML/XSLT solution but then xml file has to be created every time
word document is generated and over time it would be waste of disk space.

Based upon final sql query results, could I just use xslt document (with out
xml document) and generate a customized word document?

Please help and thank you in advance
Jan 30 '06 #1
2 1786
You could generate these documents on the fly as you had planned and have a
Windows Service running that could pick up these XML files and save them as
actual Word documents.

Regards,

Trevor Benedict R

"sqlster" <no****@nospam.com> wrote in message
news:08**********************************@microsof t.com...
In asp.net/SQL Server application based on business rules, I would like to
dynamically generate word documents. Content and layout would be fully
customized.How do I go about doing it?

I could use XML/XSLT solution but then xml file has to be created every
time
word document is generated and over time it would be waste of disk space.

Based upon final sql query results, could I just use xslt document (with
out
xml document) and generate a customized word document?

Please help and thank you in advance

Jan 30 '06 #2
You could use one of these techniques:
http://SteveOrr.net/articles/ExportPanel.aspx
http://SteveOrr.net/reviews/AsposeWord.aspx
http://SteveOrr.net/articles/ExcelExport.aspx
http://www.aspnetpro.com/productrevi...200511os_p.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"sqlster" <no****@nospam.com> wrote in message
news:08**********************************@microsof t.com...
In asp.net/SQL Server application based on business rules, I would like to
dynamically generate word documents. Content and layout would be fully
customized.How do I go about doing it?

I could use XML/XSLT solution but then xml file has to be created every
time
word document is generated and over time it would be waste of disk space.

Based upon final sql query results, could I just use xslt document (with
out
xml document) and generate a customized word document?

Please help and thank you in advance

Jan 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: josepe | last post by:
Hi, I want to do a dinamicly generation of a word doc in my ASP page. I do it with the next code: <% Response.ContentType = "application/msword" Response.AddHeader "content-disposition",...
7
by: Dave | last post by:
Apologies for the newbie question. I have created a vb.net program for my company that is designed to work with Word Templates (about forty of them that we commonly use) that are selected by the...
2
by: gerard.buskermolen | last post by:
Hello world, I have an ASP.NET application that returns HTML to the browser that should be read by MS Word. To do this I set Response.ContentType = ContentType.Word and render the HTML. The...
2
by: jmar | last post by:
I am updating a VB4.0 quote generation program to VB.net. The old program takes user inputs, performs calculations, saves the data to Access databases and uses Crystal Reports 5.0 to generate a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.