没有合适的资源?快使用搜索试试~ 我知道了~
DataList分页(新).txt
需积分: 10 30 下载量 180 浏览量
2008-05-14
11:47:58
上传
评论
收藏 12KB TXT 举报
温馨提示
试读
16页
DataList分页
资源推荐
资源详情
资源评论
//DATELIST分页(全面)
==========
.aspx
==========
<%@ Page language="c#" Codebehind="ProductList.aspx.cs" AutoEventWireup="false" Inherits="NineOneBest._91best3._0.product.ProductList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>产品分类页面</title>
</HEAD>
<body style="MARGIN: 0px; TEXT-ALIGN: center" MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<TABLE id="Table3" style="FONT-FAMILY: 微软雅黑" cellSpacing="0" cellPadding="0" width="673"
border="0">
<TR>
<TD>
<asp:datalist id="dlProduct" runat="server">
<ItemTemplate>
</ItemTemplate>
</asp:datalist>
</TD>
</TR>
<TR>
<TD style="HEIGHT: 23px" align="center"><asp:linkbutton id="lbtnOne" runat="server">|<</asp:linkbutton></TD>
<TD width="10"></TD>
<TD><asp:linkbutton id="lbtnPre" runat="server"><<</asp:linkbutton></TD>
==========
.aspx
==========
<%@ Page language="c#" Codebehind="ProductList.aspx.cs" AutoEventWireup="false" Inherits="NineOneBest._91best3._0.product.ProductList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>产品分类页面</title>
</HEAD>
<body style="MARGIN: 0px; TEXT-ALIGN: center" MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<TABLE id="Table3" style="FONT-FAMILY: 微软雅黑" cellSpacing="0" cellPadding="0" width="673"
border="0">
<TR>
<TD>
<asp:datalist id="dlProduct" runat="server">
<ItemTemplate>
</ItemTemplate>
</asp:datalist>
</TD>
</TR>
<TR>
<TD style="HEIGHT: 23px" align="center"><asp:linkbutton id="lbtnOne" runat="server">|<</asp:linkbutton></TD>
<TD width="10"></TD>
<TD><asp:linkbutton id="lbtnPre" runat="server"><<</asp:linkbutton></TD>
<TD width="10"></TD>
<TD><asp:linkbutton id="lbtnNext" runat="server">>></asp:linkbutton></TD>
<TD width="10"></TD>
<TD><asp:linkbutton id="lbtnLast" runat="server">>|</asp:linkbutton></TD>
<TD width="10"></TD>
<TD><asp:label id="lblCurrentPage" runat="server"></asp:label></TD>
<TD width="10"></TD>
<TD><asp:label id="lblPageCount" runat="server"></asp:label>到
<asp:textbox id="txtCurrentPage" runat="server" Height="16px" Width="33px"></asp:textbox>页
<asp:button id="btnGO" runat="server" Height="18px" Width="25px" CssClass="ButtonCss" Text="GO"></asp:button></TD>
</TR>
</TABLE>
</form>
</body>
</HTML>
==========
.CS
==========
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Text;
<TD><asp:linkbutton id="lbtnNext" runat="server">>></asp:linkbutton></TD>
<TD width="10"></TD>
<TD><asp:linkbutton id="lbtnLast" runat="server">>|</asp:linkbutton></TD>
<TD width="10"></TD>
<TD><asp:label id="lblCurrentPage" runat="server"></asp:label></TD>
<TD width="10"></TD>
<TD><asp:label id="lblPageCount" runat="server"></asp:label>到
<asp:textbox id="txtCurrentPage" runat="server" Height="16px" Width="33px"></asp:textbox>页
<asp:button id="btnGO" runat="server" Height="18px" Width="25px" CssClass="ButtonCss" Text="GO"></asp:button></TD>
</TR>
</TABLE>
</form>
</body>
</HTML>
==========
.CS
==========
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Text;
剩余15页未读,继续阅读
资源评论
lth888
- 粉丝: 32
- 资源: 31
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功