将扫描文件存储在Sql DB中 [英] Store Scanning File In Sql DB

查看:92
本文介绍了将扫描文件存储在Sql DB中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.....
我有一个带有名为btnScan的按钮的表单.当我单击此按钮时
我想扫描文件并立即将其保存在数据库中.
有什么提示吗??想法???解决方案???

我的意思是通过使用扫描仪扫描文档的实际扫描.
当我单击扫描"按钮时,我需要某种功能,
允许我扫描并将其保存在数据库中.
感谢

Hi .....
I have a form with a button called btnScan. When i click on this button
i want to scan a file and save it in the database at once.
Any hints ?? ideas ??? solutions ???

I mean by scanning the actual scanning of a document using the Scanner.
When i click on the Scan button, i need some kind of functionality that
allows me to scan and save it in the database.
Thanks

推荐答案

像这样尝试

1)将文件另存为blob在一行中的字段中
2)将文件放在客户端可以访问的服务器文件系统上,并将文件名放在数据库中
或查看以下链接,您可能会有所了解
WPF/C#-扫描目录中的文件吗? [ ^ ]
在SQL Server中存储或保存图像 [ ^ ]
使用Microsoft .NET从SQL Server存储和检索图像 [ ^ ]
Try Like This

1)Save the file as a blob in a field in a row
2)Put the file on a server filesystem that clients can access, and put the filename in the database
or see the following links you may get some idea
WPF/C# - Scanning a Directory for Files?[^]
Store or Save images in SQL Server[^]
Storing and Retrieving Images from SQL Server using Microsoft .NET[^]


这篇关于将扫描文件存储在Sql DB中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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