Code Behind Page Page /Reports/Default.aspx.cs (C#)
Used by Page /Reports/Default.aspx (C#)
1: using System;  
2: using QuizNetOnline.Logic;  
3:   
4:   
5: public partial class Reports_Default : QuiznetOnline.Web.UI.BusinessClasses.BasePage  
6: {  
7:     protected override void Page_Load(object sender, EventArgs e)  
8:     {  
9:         if (!Page.IsPostBack)  
10:         {  
11:             base.Page_Load(sender, e);  
12:   
13:             if (((UserWeb)Session["userWeb"]).UserName != "guest@quiznetonline.com")  
14:             {  
15:                 panelUserReports.Visible = true;  
16:             }  
17:         }  
18:     }  
19: }  

.NET Documentation Tool is © 2002 - 2009 Winnersh Triangle Web Solutions Limited.