Code Behind Page Page /Admin/ContactUs.aspx.cs (C#)
Used by Page /Admin/ContactUs.aspx (C#)
1: using System;  
2: using QuiznetOnline.Data;  
3:   
4: public partial class Admin_ContactUs : System.Web.UI.Page  
5: {  
6:     protected void Page_Load(object sender, EventArgs e)  
7:     {  
8:         DataFunctions dataFunctions = DataFunctions.GetInstance();  
9:         SqlDataSource1.ConnectionString = dataFunctions.GetConnectionString();  
10:         if (Session["Validated"] == null || (bool)Session["Validated"] == false)  
11:             Response.Redirect("Default.aspx");  
12:   
13:         //this.SqlDataSource1.ConnectionString = ConnectionObj.GetConnection().ConnectionString;  
14:   
15:     }  
16: }  

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