在ASP.NET中显示从数据库到UI的图像 [英] display images from database to UI in ASP.NET

查看:59
本文介绍了在ASP.NET中显示从数据库到UI的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将图像保存在sql数据库中。我想在用ASP.NET开发的基于Web的应用程序中将这些图像显示到UI。

有没有明确的方法呢?

我将在HTML文件中写什么来显示图像。



谢谢。

I have images saved in sql database.I want to display those images to UI in web based application developed with ASP.NET.
Is there any defined way to do it?
What I will write in HTML file to show the images.

Thanks.

推荐答案

您好,您可以试试这个: http://www.dotnetcurry.com/ShowArticle.aspx? ID = 129 [ ^ ] i认为你会在搜索中找到很多结果。
Hi you could try this one: http://www.dotnetcurry.com/ShowArticle.aspx?ID=129[^] i think that you will find a lot results with a search.


http://www.c-sharpcorner.com/uploadfile/17e8f6/inserting-and-reading-image-tofrom- data-in-Asp-Net-web-application-in-image-control / [ ^ ]



对stor来说不好在DB中的图像,您可以转换为字节并存储它..


这篇关于在ASP.NET中显示从数据库到UI的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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