如何将图像保存到数据库中的文件夹和图像路径,并使用asp.net基于数据库中的图像路径从gridview中的文件夹显示图像 [英] how to save images into folder and images path in database and display images from folder in gridview based on images path in database using asp.net

查看:90
本文介绍了如何将图像保存到数据库中的文件夹和图像路径,并使用asp.net基于数据库中的图像路径从gridview中的文件夹显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将图像保存到数据库中的文件夹和图像路径,并使用asp.net

how to save images into folder and images path in database and display images from folder in gridview based on images path in database using asp.net

推荐答案

基于数据库中的图像路径从gridview中的文件夹显示图像从这个链接中得到一个很好的例子:

将图像保存到文件夹中 [ ^ ]

这里你会得到一些相同的代码:

http://stackoverflow.com/questions/9171663/saving- image-path-in-sql-server-when-making-a-asp-net-website [ ^ ]

http://www.dotnetspider.com/forum/295958-I-stored-image- paths-sql-table-how-can-i-display-images-gridview.aspx [ ^ ]
Hi,get a good example from this link:
Save images into folder[^]
Here you will get some code for the same:
http://stackoverflow.com/questions/9171663/saving-image-path-in-sql-server-when-making-a-asp-net-website[^]
http://www.dotnetspider.com/forum/295958-I-stored-image-paths-sql-table-how-can-i-display-images-gridview.aspx[^]


参考这些链接:



http://www.aspdotnet-suresh.com/2011/03/how-to-save-images-into-folder-and.html [ ^ ]



http://www.aspsnippets.com/Articles/Display-Images-in-GridView-Control-using-the-path-stored-in-SQL-Server-datab ase.aspx [ ^ ]
Refer these links:

http://www.aspdotnet-suresh.com/2011/03/how-to-save-images-into-folder-and.html[^]

http://www.aspsnippets.com/Articles/Display-Images-in-GridView-Control-using-the-path-stored-in-SQL-Server-database.aspx[^]


这篇关于如何将图像保存到数据库中的文件夹和图像路径,并使用asp.net基于数据库中的图像路径从gridview中的文件夹显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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