将值绑定到文件上载控件 [英] Binding value to file upload control

查看:68
本文介绍了将值绑定到文件上载控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在单击编辑链接时,我需要将文件名绑定到文件上载控件...
请给我一些解决方案...
我收到错误消息,指出控件是只读的.

Hi,

while click edit link i need to bind file name to file upload control...
Please give me some solution...
i am getting error that control is read only...

推荐答案



您无法将附件绑定到文件控件.
相反,您可以将这些附件绑定到其他任何控件,例如转发器,数据列表.
这样用户可以查看该文件,然后单击该文件进行下载.

如果您需要任何澄清,请让我现在.

问候,
Kiran.
Hi,

You can''t able to bind the attached file to file control.
Instead you can bind those attachments to any other controls like repeater,datalist.
so that user can able to see the file,download it by clicking on that file.

If you need any clarifications please let me now.

Regards,
Kiran.


此处的文章 [ ^ ]使用一种方法来填充上载控件.
This article here[^] uses a method to populate an upload control.


这篇关于将值绑定到文件上载控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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