如何从数据库中检索文档 [英] how to retrive documents from the database

查看:122
本文介绍了如何从数据库中检索文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我想在Web应用程序中检索doc文件以查看documnets

hello,
i want to retrive doc files intop web application to view the documnets
and it also to edit the documents and update the documents finalyy it has been stored into data base.

推荐答案

我将假定您像以前那样使用SQL Server.不提供有关数据库的任何信息.

首先学习如何将文档存储在数据库中.您要将它们存储在文件存储中还是作为二进制文档存储?

然后找出如何从SQL Server中提取二进制文件.提取文档并将其写入本地硬盘时,用户可能应该在Web界面之外编辑文档.

然后,让用户在编辑后将文档上载到数据库.
I''ll assume you are using SQL Server as you did not give any information about the database.

First learn how to store the document in the database. Do you want to store them in a filestore or as binary documents.

Then work out how to extract binary files from SQL Server. When you extract the document and write it to the local hard disk the user should probably edit the doc outside your web interface.

Then let the user upload the document to the database after editing.


这篇关于如何从数据库中检索文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆