有什么办法可以让一个页面从整个网站页面中获取一些信息? [英] Is there any way let one page get some info from the whole website pages?

查看:96
本文介绍了有什么办法可以让一个页面从整个网站页面中获取一些信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想在我的网站中设计版权模块,版权设置页面可能如下所示:

用户名(标签):

新闻页已读(复选框)添加(复选框)编辑(复选框)删除(复选框)

文件页面读取(复选框)添加(复选框)编辑(复选框)删除(复选框)

产品页面读取(复选框)添加(复选框)编辑(复选框)删除(复选框)

用户页面读取(复选框)添加(复选框)编辑(复选框)删除(复选框)

提交(按钮)取消(按钮)

如您所知,在功能更改之前,无需更改页面的代码,但是现在,如果我添加新页面,则权限设置页面需要手动添加新行,然后删除一个页面,权限设置页面需要手动删除一行.请告诉我有什么方法可以让权限设置页面获取所有网站页面的信息(类名)?
.

Hi,i want to design rights module in my website, the rights-setting page may likes this :

UserName(label):

news page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)

files page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)

products page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)

users page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)

submit(button) cancel(button)

As you know,one page''s code needn''t to change until its function changes,but now,if I add a new page , the rights-setting page need to add a new row manually,and I delete one page ,the rights-setting page need to delete a row manually.Pls tell me is there any way let rights-set page get all of the website pages info(class name)?
.

推荐答案

会话变量可能会有所帮助.这里看看这些链接.

http://msdn.microsoft.com/en-us/library/ms178581.aspx [ ^ ]

http://www.coveryourasp.com/Session.asp [
Session variables might help. Here take a look at these links.

http://msdn.microsoft.com/en-us/library/ms178581.aspx[^]

http://www.coveryourasp.com/Session.asp[^]

Regards,
Eduard


这篇关于有什么办法可以让一个页面从整个网站页面中获取一些信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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