且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在代码后面以编程方式创建ASP.NET转发器控件

更新时间:2023-11-30 17:06:46

您首先需要了解Web的无状态特性,然后了解如何使用动态控件。您可以使用谷歌或使用您首选的搜索引擎在网络中查找这些信息。这是一篇很好的文章:无限循环 - 真正理解动态控制(第1部分) [ ^ ]



要开始使用动态ASP.NET Web Controls生成,我建议你从这里开始:如何:动态创建ASP.NET Web服务器控件模板 [ ^ ]
You need to understand first how the stateless nature of web works and then understand how to work with dynamic controls. You can use google or use your preferred search engine to find those information in the net. Here's one good article to start with: Infinities Loop - TRULY Understanding Dynamic Controls (Part 1)[^]

To get started working with dynamic ASP.NET Web Controls generation, I'd suggest you to start here: How To: Create ASP.NET Web Server Control Templates Dynamically[^]