我爱Aspx >> Asp.Net >> access下的分页方案具体不多说了,只贴出相关源码~
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.Web;
/**//// <summary>
/// 名称:access下的分页方案(仿sql存储过程)
/// 作者:cncxz(虫虫)
/// blog:http://cncxz.cnblogs.com
/// </summary>
public class AdoPager
{
protected string m_ConnString;
protected OleDbConnection m_Conn;
public AdoPager()
{
CreateConn(string.Empty);
}
public AdoPager(string dbPath)
{
CreateConn(dbPath);
}
private void CreateConn(string dbPath)
{
if (string.IsNullOrEmpty(dbPath))
{
string str = System.Configuration.ConfigurationManager.AppSettings["dbPath"] as string;
if (string.IsNullOrEmpty(str))
Ҷƪл˵?
C# 中返回上一页问题代码[08-01]
Photoshop精彩文字特效:长根的树..[08-01]
Photoshop滤镜将照片处理为版画特..[08-01]
巧用Maxthon批量收藏最爱网址[08-01]
Photoshop处理照片为泼墨风景画[08-01]
ASP.Net常用功能整理--生成图片的..[08-01]
SQL Server 2005 Reporting Serv..[08-01]
AJAX之xmlHttp[08-01]
asp.net调用存储过程方法新解[08-01]
Word2007新功能SmartArt 造极品美..[08-01]