如何在asp.net中动态创建Web控件 [英] how to dynamically create web controls in asp.net

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

问题描述

我想给用户一个添加"按钮,可以让他们动态地向页面中添加任意数量的上载框(基本上是文件上载控件).还动态地添加了所有文件上载控件的事件.用户可以使用它,这样他可以使用它上传图像和文件.请帮助.一小段代码,例如最好
谢谢
anoop

hi i want to give an user an "Add" button can let them dynamically add as many upload boxes(basically file upload control) to the page as they want.also all events of file upload control which have been dynamically added are available to user so that he can use it to upload images and files.please help . a small codeing eg would be best
thanks
anoop

推荐答案

基本概念可以从MSDN文章中找到. 如何:以编程方式将控件添加到ASP.NET网页 [
The basic concept can be found from MSDN article. How to: Add Controls to an ASP.NET Web Page Programmatically[^]


请执行不转贴问题.请使用重要问题按钮.

问候,
爱德华(Eduard)
Please do not repost questions. Use Impove question button instead.

Regards,
Eduard


您已经发布了一个类似的问题 ^ ].
You have already post a similar question here[^].


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

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