动态创建aspx页面 [英] create aspx pages dynamically

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

问题描述

嘿,

我想动态创建aspx页面,在我的应用中,如果用户单击某个产品,则必须根据该产品在该页面上显示子产品,并且必须动态创建子产品将显示在其中的页面....

可以帮忙吗?

谢谢.

hey,

i want to create aspx pages dynamically, in my aplication if a user clicks a product then the subproducts must be displayed on that page according to that product and the page in which the subproducts will be displayed, must be created dynamically....

can any1 help???

Thanks.

推荐答案

正如Sandeep指出的那样,您可能想要基于用户选项生成记录(可能从数据库).您可以在ASP.NET中使用DataGrid或任何其他数据绑定选项,该选项允许您一次显示多个记录,也可以仅打印出自己的原始HTML.只需处理产品的详细信息"链接(或其任何名称)的OnClick事件,即可将子产品子产品控件的数据绑定到该特定产品的子产品.
另外,您还必须意识到您要问的内容非常含糊,请尝试在您的问题(以及标题,顺便说一句)中提供更多帮助,以便我们提供帮助.
As Sandeep pointed out, what you probably want is to generate records (possibly from a database) based on a user option. You can use a DataGrid or any other databinding option in ASP.NET that allows you to display multiple records at a time, or you can just print out your own raw HTML. Just handle the OnClick event of the product''s ''Details'' link (or whatever it''s called) to databind the subproducts subproducts control to the subprobucts of that particular product.
Also you have to realize that what you''re asking is extremely vague, try being more helpful in your questions (and titles, btw) so that we can help.


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

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