如何在updatepanel中按顺序从数据库中检索图像 [英] how to retrieve images from database sequentially in updatepanel

查看:81
本文介绍了如何在updatepanel中按顺序从数据库中检索图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在updatepanel中顺序检索数据库中的图像(如6个图像控件中的6个图像),这样用户就不必等到检索到所有6个图像,所以当它检索到第一个图像时,它会检索到第二个,然后显示它,所以对于其余的6个图像任何提示,帮助或想法

解决方案

编写一个处理程序,将采取所需的输入参数并返回流数据库中的图像。将此作为源分配给图像控件。


请参考此处的解决方案 [ ^ ]

how to retrieve images from database sequentially in updatepanel (like 6 images in 6 image controls) so the user don't have to wait until all the 6 images retrieved, so when it retrieve the first image display it then it retrieve the second and then display it and so for the rest of the 6 images any tips, help or idea

解决方案

Write a handler that will take required input parameters and returns stream of image from database. Assign this to the image control as source.


Please refer the solution here [^]


这篇关于如何在updatepanel中按顺序从数据库中检索图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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