从数据库中获取Word文档 [英] Get Word document back from database

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

问题描述

嗨!
我已经以字节格式在我的数据库中存储了一个word文档.现在的问题是我无法从数据库中正确地获取该文档.
请回复并提出建议.

在此先感谢!

Hi!
I''ve already stored a word document in my database in byte format. Now the problem is I''m not getting that document back properly from the database.
Please reply with suggestions.

Thanks in advance!

推荐答案

在.NET中,您可以做到..

In .NET you can do it..

byte yourdata[400]=<your bytes="">;
string s = Encoding.ASCII.GetString(yourData);



在该字符串"s"中,您可以找到您的数据...



Here in that string ''s'' you can find your data...


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

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