Code Behind Page Page /Comments.aspx.cs (C#)
Used by Page /Comments.aspx (C#)
1: using System;  
2: using QuiznetOnline.Web.UI.BusinessClasses;  
3:   
4: namespace QuiznetOnline.Web.UI  
5: {  
6:     public partial class CommentsPage : QuiznetOnline.Web.UI.BusinessClasses.BasePage  
7:     {  
8:         protected override void Page_Load(object sender, EventArgs e)  
9:         {  
10:             base.Page_Load(sender, e);  
11:   
12:             if ((Session["Validated"] == null || (bool)Session["Validated"] == false) && FormOperations.IsWebServerLocalHost(Request.Url.ToString()) == false)  
13:                 Response.Redirect("Default.aspx");  
14:   
15:             //this.SqlDataSource1.ConnectionString = ConnectionObj.GetConnection().ConnectionString;  
16:   
17:         }  
18:     }  
19: }  

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