动态创建Asp.Net页面 [英] Create Asp.Net Page Dynamically

查看:125
本文介绍了动态创建Asp.Net页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个母版页.我需要向其中动态添加内容页,并将其保存在webserver(根文件夹)中.

谁能帮我提供示例代码

Hi,
I have a master page.I need to add content page to it dynamically and save it in webserver(root folder).

Can anyone please help me with sample code

推荐答案

动态"是什么意思?您将使用的数据从何而来?它们是根据某些模板创建的,还是您具有母版页,并且想要向其添加随机页?在最宽松的页面格式定义中,我看到的最可能的情况是带有文字控件的内容页面,您可以在其中填充所需的任何HTML.
What do you mean by ''dynamically'' ? Where does the data that you will use come from ? Are they created according to some template, or do you have a master page and you want to add random pages to it ? The most likely scenario that I can see, in the loosest possible definition of your page format, is a content page with literal controls on it that you can fill with whatever HTML you like.


这篇关于动态创建Asp.Net页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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