如何根据所选数据生成表 [英] how to generate the table according to the data selected

查看:61
本文介绍了如何根据所选数据生成表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网站上,向用户显示了多功能厅列表.用户可以选择任何功能厅.在另一个网络表单中,我们创建了一个菜单.在菜单中,菜单项之一是详细信息".如果用户选择或单击功能厅,则应将页面导航到显示菜单的页面,如果他单击详细信息,则应根据上一页中单击的功能厅将详细信息显示在表格中.如何根据功能厅点击生成表格?我们应该动态创建表吗?还是有其他替代解决方案???请帮助我,先生....

In my website, there is a list of function halls is shown to the user. The user can select any function hall. in another webform we created a menu. In the menu one of the menu items is "details". if the user select or click on the function hall the page should be navigated to page where the menu is present and if he click on details, the details should be shown in table according to the function hall clicked in the previous page. how to generate the table according to function hall clicked? should we dynamically create the tables?? or there is any alternative solution??? please help me sir....

推荐答案

您应该将相关大厅的ID传递到URL上的新页面,然后才能编写可添加书签的页面查找正确的大厅并呈现其详细信息.
You should pass the id of the hall in question to the new page on the URL, then you can write a bookmarkable page that looks up the correct hall and renders it''s details.


这篇关于如何根据所选数据生成表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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