本文介绍了如何使用vb.net winform项目在SQL Server数据库中保存图像的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个带有人物照片ID的vb.net winform项目,我想将照片的位置存储在SQL Server数据库中。在项目中,人员详细信息(名称,号码,地址等)并存储在数据库中。我可以做那部分没问题。拍摄人物照片并存储在网络上其中一个驱动器上的文件夹中。可以选择在项目中从此文件夹中选择照片,然后将其添加到配置文件中。检索图像位置的最佳方法是什么?如何将其存储在Sql server数据库中?我希望能够使用照片的位置来调用它以在项目的另一部分中再次使用。任何有关此问题的帮助将不胜感激。谢谢。

I am developing a vb.net winform project that takes a persons photo ID, I want to store the location of the photo in a SQL Server database. In the project, a persons details are taken (Name, Number, Address, etc) and stored in the database. I can do that part no problem. A photo is taken of the person and stored in a folder on one of the drives on the network. There is an option to choose a photo from this folder in the project and it is added to the profile. What is the best way to retrieve the location of the image and how do I go about storing it in the Sql server database? I want to be able to use the location of the photo to call it to use again in another part of the project. Any help with this problem would be greatly appreciated. Thanks.

推荐答案


这篇关于如何使用vb.net winform项目在SQL Server数据库中保存图像的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 20:16