【问题标题】:What is the best way to stored pictures in a visual studio generated program?在 Visual Studio 生成的程序中存储图片的最佳方法是什么?
【发布时间】:2014-08-03 13:08:32
【问题描述】:

我想创建一个包含支持销售的数据库的程序。 该程序将使用 Visual Studio 2010 开发,并使用 Ms.Access 连接数据库。 我想包括存储在数据库中的每个产品的图片。 我想知道在这种情况下存储图片的最佳方式。

【问题讨论】:

  • 相当广泛,但我认为最好将其存储在磁盘上并在数据库中对文件进行引用。这样便于维护。

标签: c# database image visual-studio-2010 ms-access-2010


【解决方案1】:

您可以使用blob 字段将文件(图片、文本等)直接存储到Database 中,使用blob 字段Uploading and Downloading BLOBs to Microsoft Access 进行插入和选择过程的链接

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-05-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-02-27
    • 2010-11-11
    • 1970-01-01
    • 2011-02-19
    相关资源
    最近更新 更多