文件名称:ServerPage
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 35kb
- 下载次数:
- 0次
- 提 供 者:
- skya****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
ServerPage 一个C#程序写的分页程序,直接引用dll,直接调用就可以了!
Dim page As Int16 = Utility.RequestHelp.GetInt("page")
If page = 0 Then page = 1
Dim pagesize As Int16 = 12
Dim eds As DataSet
eds =你的dataset返回程序 Dim rowcount As Int32 = Convert.ToInt32(eds.Tables(1).Rows(0)(0))
DataGrid1.DataSource = eds.Tables(0)
DataGrid1.DataBind()
PagerControl1.UrlManager = New ServerControl.DefaultUrlManager(rowcount, pagesize, "page")
eds.Dispose()
eds = Nothing-ServerPage a program written in C# pager, direct reference to the dll, direct calls on it! Dim page As Int16 = Utility.RequestHelp.GetInt (" page" ) If page = 0 Then page = 1 Dim pagesize As Int16 = 12 Dim eds As DataSet eds = your dataset returns procedure Dim rowcount As Int32 = Convert.ToInt32 (eds . Tables (1). Rows (0) (0)) DataGrid1.DataSource = eds.Tables (0) DataGrid1.DataBind () PagerControl1.UrlManager = New ServerControl.DefaultUrlManager (rowcount, pagesize, " page" ) eds.Dispose ( ) eds = Nothing
Dim page As Int16 = Utility.RequestHelp.GetInt("page")
If page = 0 Then page = 1
Dim pagesize As Int16 = 12
Dim eds As DataSet
eds =你的dataset返回程序 Dim rowcount As Int32 = Convert.ToInt32(eds.Tables(1).Rows(0)(0))
DataGrid1.DataSource = eds.Tables(0)
DataGrid1.DataBind()
PagerControl1.UrlManager = New ServerControl.DefaultUrlManager(rowcount, pagesize, "page")
eds.Dispose()
eds = Nothing-ServerPage a program written in C# pager, direct reference to the dll, direct calls on it! Dim page As Int16 = Utility.RequestHelp.GetInt (" page" ) If page = 0 Then page = 1 Dim pagesize As Int16 = 12 Dim eds As DataSet eds = your dataset returns procedure Dim rowcount As Int32 = Convert.ToInt32 (eds . Tables (1). Rows (0) (0)) DataGrid1.DataSource = eds.Tables (0) DataGrid1.DataBind () PagerControl1.UrlManager = New ServerControl.DefaultUrlManager (rowcount, pagesize, " page" ) eds.Dispose ( ) eds = Nothing
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ServerPage\AssemblyInfo.cs
..........\bin\Debug\ServerPage.dll
..........\...\.....\ServerPage.pdb
..........\...\Release\ServerPage.dll
..........\obj\Debug\ServerPage.dll
..........\...\.....\ServerPage.pdb
..........\...\.....\ServerPage.projdata
..........\...\Release\ServerPage.dll
..........\...\.......\ServerPage.projdata
..........\PagerControl.cs
..........\ServerPage.csproj
..........\ServerPage.csproj.user
..........\ServerPage.sln
..........\ServerPage.suo
..........\UrlManager.cs
..........\obj\Debug\temp
..........\...\.....\TempPE
..........\...\Release\temp
..........\...\.......\TempPE
..........\bin\Debug
..........\...\Release
..........\obj\Debug
..........\...\Release
..........\bin
..........\obj
ServerPage
..........\bin\Debug\ServerPage.dll
..........\...\.....\ServerPage.pdb
..........\...\Release\ServerPage.dll
..........\obj\Debug\ServerPage.dll
..........\...\.....\ServerPage.pdb
..........\...\.....\ServerPage.projdata
..........\...\Release\ServerPage.dll
..........\...\.......\ServerPage.projdata
..........\PagerControl.cs
..........\ServerPage.csproj
..........\ServerPage.csproj.user
..........\ServerPage.sln
..........\ServerPage.suo
..........\UrlManager.cs
..........\obj\Debug\temp
..........\...\.....\TempPE
..........\...\Release\temp
..........\...\.......\TempPE
..........\bin\Debug
..........\...\Release
..........\obj\Debug
..........\...\Release
..........\bin
..........\obj
ServerPage