Component Page /BusinessClasses/BasePage.cs (C#)
1: using System;  
2: using System.Collections.Generic;  
3: using System.Linq;  
4: using System.Web;  
5: using System.Web.UI;  
6: using System.Web.UI.WebControls;  
7: using QuizNetOnline.Logic;  
8: using Microsoft.ApplicationBlocks.Data;  
9:   
10: namespace QuiznetOnline.Web.UI.BusinessClasses  
11: {  
12:     public partial class BasePage : System.Web.UI.Page  
13:     {  
14:         protected virtual void Page_Load(object sender, EventArgs e)  
15:         {  
16:             Log log = new Log();  
17:             log.UserWeb = (UserWeb)Session["userWeb"];  
18:             log.LogArea = Request.Url.ToString();  
19:             log.Save(new SqlWrapper());  
20:         }  
21:     }  
22: }

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