您目前尚未登陆,请选择【登陆】或【注册
首页->其他源码->BugNet0.7.881.0汉化免安装版源码>>BugNET_WAP/Administration/Admin.aspx.cs>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:BugNet0.7.881.0汉化免安装版源码


当前文件路径:BugNet/BugNET_WAP/Administration/Admin.aspx.cs 文件类型
普通视图
		            
1using System; 2using System.Data; 3using System.Configuration; 4using System.Collections; 5using System.Web; 6using System.Web.Security; 7using System.Web.UI; 8using System.Web.UI.WebControls; 9using System.Web.UI.WebControls.WebParts; 10using System.Web.UI.HtmlControls; 11using BugNET.BusinessLogicLayer; 12using BugNET.UserInterfaceLayer; 13 14/// <summary> 15/// 16/// </summary> 17public partial class Administration_Admin : BasePage 18{ 19 /// <summary> 20 /// Handles the Load event of the Page control. 21 /// </summary> 22 /// <param name="sender">The source of the event.</param> 23 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> 24 protected void Page_Load(object sender, EventArgs e) 25 { 26 if (!UserIT.IsInRole(Globals.SuperUserRole) && !UserIT.IsInRole("Project Administrators")) 27 Response.Redirect("~/AccessDenied.aspx"); 28 29 if (!Page.IsPostBack) 30 { 31 //hide log viewer and host settings for non superusers 32 if (!UserIT.IsInRole(Globals.SuperUserRole)) 33 { 34 lnkConfiguration.Visible = false; 35 Image4.Visible = false; 36 Image5.Visible = false; 37 lnkLogViewer.Visible = false; 38 //lnkNewProject.Visible = false; 39 //Image3.Visible = false; 40 } 41 } 42 } 43} 44
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:BugNet0.7.881.0汉化免安装版源码

- 简单用户管理源码(入门级)

- ASP.net Forums 2 V1.1版源码

- 青岛分类信息网源码

- IP锁定程序实例源码

- 天风网上商店系统 Beta版源码

- Asp.net2.0在线压缩/解压示例..

- Asp.net物业管理系统源码

- GridView实用示例源码附加导..

51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号