资源简介
购物商城系统源码版,尽供大家学习使用,如有商用请与版权公司联系。
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
namespace ChangeHope.Database
{
///
/// 分页程序
///
public class DataByPage
{
private string sql;
private int pageSize=15;
private string query;
private string table;
private string where;
private string order;
private string orderDesc;
private int recordCount=0;
private int pageCount = 0;
private string orderby = ““;
private int pageIndex = 0;
private System.Data.SqlClient.SqlDataReader recordSet;
private Hashtable para;
private string pageToolBar = ““;
private string receptionToolBar = ““;
public string OrderBy
{
get { return orderby; }
set { orderby = value; }
}
public int PageCount
{
get { return pageCount;}
set { pageCount = value;}
}
public string Sql
{
get { return sql; }
set { sql = value; }
}
public int PageSize
{
get { return pageSize; }
set { pageSize = value; }
}
public System.Data.SqlClient.SqlDataReader DataReader
{
get { return recordSet; }
}
public int PageIndex
{
get { return pageIndex; }
set { pageIndex = value; }
}
public string PageToolBar
{
get { return pageToolBar; }
set { pageToolBar = value; }
}
public string ReceptionToolBar
{
get { return receptionToolBar; }
set { receptionToolBar = value; }
}
public void GetRecordSetByPage()
{
GetPara();
SplitSql();
DescOrder();
GetCount();
GetPageCount();
GetToolBar();
ReceptionGetToolBar();
GetRecordSet();
}
public void GetRecordFreelabelByPage()
{
GetPara();
SplitSqlFreelabel();
DescOrder();
GetCount();
GetPageCount();
GetToolBar();
ReceptionGetToolBar();
GetRecordSet();
}
private string GetWhere()
{
StringBuilder sqlWhere = new StringBuilder();
int postion = 0;
string key = ““;
string value = ““;
foreach (DictionaryEntry de in para)
{
key = de.Key.ToString();
value = de.Value.ToString();
//大于
postion = key.ToString().IndexOf(“w_g_“);
if (postion >= 0)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5234176 2009-12-21 14:43 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Databa
目录 0 2009-12-21 14:58 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Databa
文件 58368 2009-12-21 14:44 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\bin\Debug\ChangeHope.dll
文件 210432 2009-12-21 14:44 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\bin\Debug\ChangeHope.pdb
文件 217088 2009-12-21 14:44 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\bin\Debug\ICSharpCode.SharpZipLib.dll
文件 777728 2009-12-21 14:44 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\bin\Debug\ICSharpCode.SharpZipLib.pdb
文件 950272 2009-05-03 17:20 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\bin\Debug\Interop.SQLDMO.dll
目录 0 2009-12-21 14:44 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\bin\Debug
目录 0 2009-12-21 14:42 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\bin
文件 14812 2009-09-22 17:03 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\ChangeHope\Databa
文件 3069 2009-09-22 17:03 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\ChangeHope\Databa
文件 22529 2009-09-22 17:03 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\ChangeHope\Databa
..A.SH. 183 2009-09-29 16:05 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\ChangeHope\Databa
目录 0 2009-12-21 14:42 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\ChangeHope\Databa
目录 0 2009-12-21 14:42 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\ChangeHope
文件 4265 2009-12-21 14:33 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\ChangeHope.csproj
文件 168 2009-11-19 14:52 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\ChangeHope.csproj.user
文件 276 2009-10-19 09:28 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\ChangeHope.csproj.vspscc
文件 2015 2009-11-12 17:32 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\Cookies.cs
文件 6885 2009-08-04 10:58 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\DEncryptHelper.cs
文件 6554 2009-08-04 10:58 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\EncodeHelper.cs
文件 11818 2009-11-21 14:06 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\FileHelper.cs
文件 2514 2009-08-04 10:58 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\ImagesHelper.cs
文件 3304 2009-12-07 15:11 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\NetWorkHelper.cs
文件 830 2009-11-16 09:57 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\PrompteMessageHelper .cs
文件 2869 2009-10-12 10:28 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\ServerInfo.cs
文件 1248 2009-08-04 10:58 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\SortHelper.cs
文件 8594 2009-11-09 16:54 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\StringHelper.cs
文件 6443 2009-12-21 11:56 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\UploadFile.cs
文件 22124 2009-12-21 12:07 ChangeHope_YxShop_Sourcee_V4.6\YxShop_Sourcee_V4.6\ChangeHope\Common\UploadProcesedImages.cs
............此处省略3757个文件信息
- 上一篇:超低功耗单片无线应用系统入门
- 下一篇:bazel-0.8.0
相关资源
- 网上购物商城系统完整版
- 购物商城app 仿淘宝
- Shopping+在线购物商城的实现Spring+Spr
- ssm开发购物商城web项目代码+详细注释
- MUI手机购物商城源码
- 电子购物商城系统本科毕业设计论文
- 网上购物商城 开题,论文,答辩PPT全
- 网上购物商城系统功能很齐全的哦
- 网上购物商城ajax开发技术
- 服装网上购物商城源代码
- 网上购物商城源代码+毕业论文+开题报
- 天天生鲜购物商城源代码
- 完整版网上购物商城及说明书
- 微信小程序购物商城
- ionic购物商城demo源码
- 天天生鲜购物商城系统
- 网络服装购物商城系统源码
- 购物商城app实现源码
- 购物商城demo
- 软件工程专业2019毕业设计-购物商城系
- 亲测可用奇店社群社区团购前后端完
- ssh框架网上购物商城练习包含完整代
- SSM框架在线购物项目
- 基于SpingBoot开发的购物商城
- 购物商城App+客户端+服务端+数据库
- 利物直播购物商城小程序V1.1.48后台源
- ssm框架购物商城系统
- 网上购物商城静态页面模板
- 关于购物商城的概要设计
- 购物商城可做毕业设计
评论
共有 条评论