存储图像或声音文件... [英] Store images, or sound files...

查看:99
本文介绍了存储图像或声音文件...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我想知道如何在数据库中存储图像或声音文件(我对mysql一无所知),为什么呢?因为我想在我的app.exe运行时调用这些图像或声音文件,以便要显示在其中,请通过示例指定操作方法.

附言:初学者请不要取笑我:)

--------------
非常感谢,感谢您的努力.

Hello,
I want to know how to store images, or sound files in a database (I don''t know a thing about mysql), why?, because i want to call these images or sound files while my app.exe is running, to be displayed in it, please specify how to do that with examples.

P.S: please don''t make fun of me, im a beginner :)

--------------
Thanks a lot, I appreciate your efforts.

推荐答案

使用Microsoft Access在C#中使用简单电影数据库 [ ^ ]
这是一个小型应用程序,可能会一直为您提供帮助.考虑到应用程序上的日期,我希望它是在dotNet3或3.5中,但应该可以很好地转换为dotNet4.
Simple Movie Database in C# using Microsoft Access[^]
This is a small application that might help you along the way. Considering the date on the application I''m expecting that it is in dotNet3 or 3.5, but it should translate fairly well to dotNet4.


hi 您可以将文件存储在服务器的本地文件夹"中,并保存"Loaction&数据库中文件的名称.

我认为在MySql中可以使用数据类型"blob".
此链接可以帮助您 http://mrarrowhead.com/index.php
hi you can store the file in servers Local Folder and save the Loaction & name of the File in the Database.
or
i think in MySql there is a datatype "blob" you can use this.
this link can help you http://mrarrowhead.com/index.php


这篇关于存储图像或声音文件...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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