如何在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[^].