469,632 Members | 1,776 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,632 developers. It's quick & easy.

a question about save the word document to database

Hi,
I have a question below.
In the Sql server 2000 I store some word documents.Then I get the data
from the database
through the asp code and display the word document in IE.The ContentType is
"application/msword".
My question is how to save the word document which is edited to the
database.

Thanks for your advice!
Jack
Jul 19 '05 #1
3 8784
The user would have to save the file locally and then you would need to
provide a page where he can upload the new file. See here for uploading
options. http://www.aspfaq.com/2189

Ray at home

"lee_j" <le***@163.com> wrote in message
news:ei**************@TK2MSFTNGP11.phx.gbl...
Hi,
I have a question below.
In the Sql server 2000 I store some word documents.Then I get the data
from the database
through the asp code and display the word document in IE.The ContentType is "application/msword".
My question is how to save the word document which is edited to the
database.

Thanks for your advice!
Jack

Jul 19 '05 #2
> My question is how to save the word document which is edited to the
database.


I don't think you can instantiate "Word.Application" on the server, and also
have it displayed to the user for remote editing.

So, as Ray said, the user would have to save their changes to the file
locally, and upload it.

However, storing Word documents inside a SQL Server database suffers many of
the problems we have storing images there. Why do you need to store the
documents in the database? See http://www.aspfaq.com/2149 for pros and
cons.
Jul 19 '05 #3

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> дʼ
news:%2***************@TK2MSFTNGP10.phx.gbl...
My question is how to save the word document which is edited to the
database.
I don't think you can instantiate "Word.Application" on the server, and

also have it displayed to the user for remote editing.

So, as Ray said, the user would have to save their changes to the file
locally, and upload it.

However, storing Word documents inside a SQL Server database suffers many of the problems we have storing images there. Why do you need to store the
documents in the database? See http://www.aspfaq.com/2149 for pros and
cons.


I store word documents into database because I think those documents would
manage well.
User can expediently find documents.This is my point.
Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Steve Holland | last post: by
4 posts views Thread by Kash | last post: by
1 post views Thread by =?Utf-8?B?QmFkaXM=?= | last post: by
1 post views Thread by =?Utf-8?B?S2ltIFM=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.