在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中的图像,您可以转换为字节并存储它..