Code Behind Page Page /Admin/Reports/NumberOfTestTakenByDate.aspx.cs (C#)
Used by Page /Admin/Reports/NumberOfTestTakenByDate.aspx (C#)
1: using System;  
2: using System.Collections;  
3: using System.Collections.Generic;  
4: using System.Web.UI;  
5: using Microsoft.ApplicationBlocks.Data;  
6: using QuizNetOnline.Logic;  
7: using QuiznetOnline.Web.UI.BusinessClasses;  
8: using QuiznetOnline.Data;  
9:   
10: namespace QuiznetOnline.Web.UI.Admin  
11: {  
12:     public partial class NumberOfTestTakenByDate : Page  
13:     {  
14:         protected void Page_Load(object sender, EventArgs e)  
15:         {  
16:             if (!Page.IsPostBack)  
17:             {  
18:                 if (Session["Validated"] == null || (bool)Session["Validated"] == false)  
19:                     Response.Redirect("Default.aspx");  
20:             }  
21:         }  
22:   
23:         protected void butUsersEnrolledPerDay_Click(object sender, EventArgs e)  
24:         {  
25:             Response.Write("Hello World");  
26:         }  
27:     }  
28: }

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