如何在MsSql中插入扫描的副本文档? [英] How to insert a scanned copy document in a MsSql ?
本文介绍了如何在MsSql中插入扫描的副本文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
如何使用asp.net 3.5和c#3.0在MS-SQL Server.iam中插入扫描的副本文档存储
谢谢与问候
Hareesh.A
Hi to all
How to insert a scanned copy document store in a MS-SQL Server.iam using asp.net 3.5 and c#3.0
Thanks&Regards
Hareesh.A
推荐答案
最好的方法是将扫描的文档保存在具有唯一名称的虚拟目录中,然后将该文件的路径保存到数据库.
在数据库中保存图像可能会带来很多性能问题.
The best way to do that would be to save the scanned document in a virtual directory with some unique name and then save the path of this file into the database.
saving an image in database could impose a lot of performance issues.
请参见以下链接
使用ASP.NET在MySQL中存储图像 [ ^ ]
see below link
Storing Images in MySQL using ASP.NET[^]
您可以将数据存储在MySQL中的 BLOB 数据类型中.
将扫描的图像转换为byte [],然后可以将其存储在BLOB字段中.您需要进行反向操作以检索您的图像.
希望对您有帮助
谢谢
-Amit.
Hi,
you can store your data in BLOB datatype in MySQL.
Convert your scanned image into byte[] and that can be stored in BLOB field. you need to do reverse to retrieve your Image.
hope this will help you
Thanks
-Amit.
这篇关于如何在MsSql中插入扫描的副本文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文