在asp.net的gridveiw中显示图像,图像保存在服务器文件夹中,图像名称保存在mysql数据库中 [英] display images in gridveiw in asp.net, images are saved in server folder and image names saved in mysql database

查看:58
本文介绍了在asp.net的gridveiw中显示图像,图像保存在服务器文件夹中,图像名称保存在mysql数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在asp.net中的gridveiw中显示图像,图像保存在服务器文件夹中,图像名称保存在mysql数据库中

有人帮我解决了

display images in gridveiw in asp.net, images are saved in server folder and image names saved in mysql database
someone help me out pls

推荐答案

只需浏览此链接



在GridView中显示数据库中的图像 [ ^ ]



上面url中的代码使用sql server作为数据库。您需要根据数据库进行必要的更改,即mysql。
Just go through this link

Displaying Images from a Database in a GridView[^]

The code in the above url uses sql server as the database. You will need to make the necessary changes according to your database which is mysql.


这篇关于在asp.net的gridveiw中显示图像,图像保存在服务器文件夹中,图像名称保存在mysql数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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