如何在asp.net中的Web用户控件中显示图像 [英] How to display images in web user control in asp.net

查看:126
本文介绍了如何在asp.net中的Web用户控件中显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在网页中使用Web用户控件显示图像.

我设计了一个Web用户控件,其中包含一个datagrid视图和一个模板字段图像控件.
我想将图像源选择到包含图像路径字段的sql server表中,但是图像不会显示在图像控件中.

如何完成此任务?

I want display image using web user control in my web page.

I designed one web user control that contains one datagrid view and one template field image control.
I want to select image source into sql server table that contains image path field but image doesn''t display in image control.

How can I complete this task?

推荐答案

这样有帮助吗 [^ ].


这篇关于如何在asp.net中的Web用户控件中显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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