如何在webform上显示图像(图像控制) [英] How to display image on webform (image control)

查看:150
本文介绍了如何在webform上显示图像(图像控制)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的图片存储在一个名为D的文件夹中:\ Project \ Image \ ... jpg

在我的Mircosoft访问中,我创建了一个名为ImageFile的字段。并将图像路径复制粘贴到文本字段中


使用

My image is being stored in a folder called D:\Project\Image\...jpg
Inside my Mircosoft access i made a field called ImageFile . And copy paste the image path into the field in text

Using

< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | 选择 | Wrap | 行号

推荐答案

为什么在您需要的只是图像路径字段时返回该查询中的所有字段?您确定图像路径字段是记录集中的第十个字段吗?您应该检查该值是否实际返回您认为它正在返回的内容。您应该知道字段编号从0开始。此外,如果您对路径进行硬编码,它是否有效?这些是您应该首先采取的一些基本故障排除步骤。
Why return all the fields in that query when all you need is the image path field? Are you sure the image path field is the tenth field in the recordset? You should check the value is actually returning what you think it''s returning. You should be aware that field numbering starts at 0. Also, does it work if you hard code the path? These are some basic troubleshooting steps you should take first.


因为我正在进行包含所有其他详细信息的个人特定更新表格。


读者[ 9]将显示图像路径
Because i doing a Personal Particular Update form with all the other details.

Reader[9] will show the image path


您如何知道阅读器[9]将显示图像路径?您是否尝试过硬编码故障排除步骤?
How do you know that reader[9] will show the image path? Did you try the hard coding troubleshooting step?


这篇关于如何在webform上显示图像(图像控制)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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