ASP.NET Page /Admin/UserSettings.aspx.cs (C#)
1: using System;  
2: using System.Data;  
3: using System.Configuration;  
4: using System.Collections;  
5: using System.Web;  
6: using System.Web.Security;  
7: using System.Web.UI;  
8: using System.Web.UI.WebControls;  
9: using System.Web.UI.WebControls.WebParts;  
10: using System.Web.UI.HtmlControls;  
11: using QuiznetOnline.Data;  
12:   
13: public partial class UserSettings : System.Web.UI.Page  
14: {  
15:     protected void Page_Load(object sender, EventArgs e)  
16:     {  
17:         DataFunctions dataFunctions = DataFunctions.GetInstance();  
18:         SqlDataSource1.ConnectionString = dataFunctions.GetConnectionString();  
19:         SqlDataSource1.ConnectionString = dataFunctions.GetConnectionString();  
20:         //if (Session["Validated"] == null || (bool)Session["Validated"] == false)  
21:         //    Response.Redirect("Default.aspx");  
22:   
23:         //this.SqlDataSource1.ConnectionString = ConnectionObj.GetConnection().ConnectionString;  
24:   
25:     }  
26: }  

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