询问有关将图片保存到数据库的问题 [英] Asking about saving pictures to a database

查看:75
本文介绍了询问有关将图片保存到数据库的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.

我的名字叫Bheki,南非德班科技大学(Durban Technology University)的IT学生,我读了三年级.我们目前正在做一个基于Web的项目,需要上传图像.
对于如何将这些图像上传到数据库,我会有所帮助.

我正在使用Visual Studio 2008
SQL Server 2005
C#语言.

我需要知道从哪里开始编写这种代码.

Hi.

My name is Bheki, an IT student at Durban University of technology in South Africa studying my 3rd year.we are currently working on a web based project and it requires uploading images.
I would some help of how to upload those images to a database.

Im using Visual Studio 2008
SQL Server 2005
C# Language.

I need to know where to begin to code that kind of code.

推荐答案

请浏览Google进行搜索,您会发现许多有用的链接来指导您. Google是最好的导师.
Please go through Google, search it, you''ll find many helpful links to guide you. Google is the best tutor.




实际上,有两种方法可以将图片存储到数据库中.
首先,您可以使用BLOB-数据类型"将图像直接存储在数据库中.

其次,将图像放置到FTP服务器上,并将图像链接保存到列中.

问候
Hi,

Actually there are 2 possibilities to store a picture into a database.
First, you can store the image directly in the database, using the BLOB-"datatype".

Second, you put the image onto a FTP-server and save the imagelink into a column.

Regards


正如一位发帖人所说,我想您还没有意识到搜索引擎的强大功能. 链接 [
As one of the poster said, I suppose you have not realized the power of search engines. The link[^] will help you. :thumbsup:


这篇关于询问有关将图片保存到数据库的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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