从SQL检索Autocad(*.cad)文件 [英] Retrieve Autocad(*.cad) file from sql
本文介绍了从SQL检索Autocad(*.cad)文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从db中检索cad文件的最佳方法是什么?:confused:
我知道,我只能将二进制格式存储在sql数据库中.
有什么组件可以做到这一点吗?
谢谢
What''s the best way to retrieve a cad file from db?:confused:
I know, I just can store the binary format in sql database.
Is there any component to do this?
Thanks
推荐答案
看看这个论坛帖子:
http://social.msdn.microsoft.com /forums/zh-CN/Vsexpressvcs/thread/b818de10-9dbb-4ca4-9c31-8f3305713eee/ [
Have a look at this forum post:
http://social.msdn.microsoft.com/forums/en-US/Vsexpressvcs/thread/b818de10-9dbb-4ca4-9c31-8f3305713eee/[^]
SqlDataReader.GetSqlBytes(colOffset)检索一个SqlBytes对象.
SqlBytes.Stream以流的形式获取此SqlBytes的数据
打开目标文件并写入流的内容
问候
Espen Harlinn
SqlDataReader.GetSqlBytes(colOffset) retrieves an SqlBytes object.
SqlBytes.Stream gets the data of this SqlBytes as a stream
Open the target file and write the contents of the stream
Regards
Espen Harlinn
这篇关于从SQL检索Autocad(*.cad)文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文