example of fragement cache uisng asp.net?

Sagarp
Posted by Sagarp under ASP.NET category on | Views : 1974
<%@ Page language="c#" Codebehind="fragment cache.aspx.cs" AutoEventWireup="false" Inherits="day8.fragment_cache" %>
<%@ Register TagPrefix="uc1" TagName="usercontrol" Src="usercontrol.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>fragment cache</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 184px; POSITION: absolute; TOP: 136px" runat="server">Label</asp:Label>
<uc1:usercontrol id="Usercontrol1" runat="server"></uc1:usercontrol>
</form>
</body>
</HTML>
"fragment cache.aspx.cs
private void Page_Load(object sender, System.EventArgs e)
{
this.Label1.Text=DateTime.Now.ToString();


}

Comments or Responses

Login to post response