|
<%@ Page language="c#" EnableSessionState="false" Codebehind="Paging.aspx.cs" AutoEventWireup="false" Inherits="Paging.WebForm2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<LINK href="../styles/styles.css" rel="STYLESHEET" type="text/css">
</STYLE>
<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">
<script language="JavaScript"><!--
function addDays(myDate,days)
{
//return new Date(myDate.getTime() + days*24*60*60*1000);
myDate.setDate(myDate.getDate()+days);
return myDate;
}
//--></script>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<TABLE id="Table2" style="Z-INDEX: 101; LEFT: 96px; WIDTH: 312px; POSITION: absolute; TOP: 72px; HEIGHT: 224px"
cellSpacing="1" cellPadding="1" width="312" border="1">
<TR>
<TD style="WIDTH: 110px"><STRONG>Total Record</STRONG></TD>
<TD style="WIDTH: 63px"></TD>
<TD style="WIDTH: 256px">
<asp:DropDownList id="ddlTotalRec" runat="server" Width="216px" AutoPostBack="True">
<asp:ListItem Value="100">Record1(100)</asp:ListItem>
<asp:ListItem Value="200">Record2(200)</asp:ListItem>
<asp:ListItem Value="300">Record3(300)</asp:ListItem>
<asp:ListItem Value="400">Record4(400)</asp:ListItem>
<asp:ListItem Value="555">Record5(555)</asp:ListItem>
<asp:ListItem Value="0">Record(0)</asp:ListItem>
</asp:DropDownList></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 110px"><STRONG>Records</STRONG></TD>
<TD style="WIDTH: 63px"></TD>
<TD style="WIDTH: 256px">
<asp:Label id="Label1" runat="server" Width="214px" Height="40px">Label</asp:Label></TD>
<TD></TD>
<TD> </TD>
</TR>
<TR>
<TD style="WIDTH: 110px; HEIGHT: 42px">
<asp:Button id="btnFirstRec" runat="server" Text="<"></asp:Button></TD>
<TD style="WIDTH: 63px; HEIGHT: 42px">
<asp:Button id="btnPrev" runat="server" Text="<<"></asp:Button>
</TD>
<TD style="WIDTH: 256px; HEIGHT: 42px">
<asp:Table id="tblPaging" runat="server" cellspacing="0" Runat="server"></asp:Table></TD>
<TD style="HEIGHT: 42px">
<asp:Button id="btnNext" runat="server" Text=">>"></asp:Button>
</TD>
<TD style="HEIGHT: 42px">
<asp:Button id="btnLastRec" runat="server" Text=">"></asp:Button> </TD>
</TR>
<TR>
<TD style="WIDTH: 110px"><STRONG>First</STRONG></TD>
<TD style="WIDTH: 63px"><STRONG>Previous</STRONG></TD>
<TD style="WIDTH: 256px"> <STRONG>Pagination</STRONG></TD>
<TD><STRONG>Next</STRONG></TD>
<TD><STRONG>Last</STRONG></TD>
</TR>
</TABLE>
<asp:Label id="Label3" style="Z-INDEX: 102; LEFT: 272px; POSITION: absolute; TOP: 48px" runat="server"
Width="329px" Font-Bold="True">Paging With Intervals</asp:Label>
</form>
</body>
</HTML>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.