使用C#.Net从Asp.net的下拉列表中选择项目时如何显示图像 [英] How to display images when selected item from Dropdown list in Asp.net using C#.Net
本文介绍了使用C#.Net从Asp.net的下拉列表中选择项目时如何显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无论何时从下拉列表中选择项目,我都希望显示目录中的图像.
每个项目都有一个以上的图像.
例如Item1具有image_01,image_02,Image_03.
因此,我想在单独的图像控件中显示每个图像.
请帮我.非常紧急...........:confused:
注意:我正在使用Visual Studio2008.
I want to display images from the directory whenever I select the item from the Dropdown list.
Each Item has more than one image.
for example Item1 has image_01, image_02, Image_03.
So, I want to display each image in separate image control.
Please help me. It''s very urgent...........:confused:
Note: I am using Visual Studio 2008.
推荐答案
尝试本文
http://geekswithblogs.net/dotNETvinz/archive/2009/04/24/displaying-image-to-image-control-based-on-user-selection-in.aspx [
Try this article
http://geekswithblogs.net/dotNETvinz/archive/2009/04/24/displaying-image-to-image-control-based-on-user-selection-in.aspx[^]
感谢您的回答.
我已经尝试过了.它正在获取图像的详细信息,但未在图像控件中显示图像.
Thanks for your answer.
I have already tried this. It''s getting the Details of the image but not displaying image in image control.
这篇关于使用C#.Net从Asp.net的下拉列表中选择项目时如何显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文