首页 开发技术 C#     /    Datagridview分页控件

Datagridview分页控件

上传者: ztsjznc | 上传时间:2020/11/23 10:41:04 | 文件大小:218KB | 文件类型:zip
Datagridview分页控件
C#开发的Datagridview分页控件源码,采用的真分页非存储过程方式。
支持每页显示条数,页跳转,当前页和全部页导出Excel功能。
使用方法。
将本控件源码导入本人的新建项目中,整个项目编译一次后,工具箱会自动生成一个第三方控件名称叫DataPager。
在winForm上的datagridview控件下拖入本控件,设置好每页显示的最大记录条数(默认为50条记录)即可。
代码中加入以下代码this.dataPager1.RelationControl(this.Dgv);//本控件并联的datagridview控件名。
this.dataPager1.DataSource=ds.Tables[0];//本控件的数据源.

文件下载

资源详情

[{"title":"(47个子文件218KB)Datagridview分页控件","children":[{"title":"PagerControl","children":[{"title":"DataGridViewPagerControl.csproj.user <span style='color:#111;'>352B</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.cs <span style='color:#111;'>19.91KB</span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'>2.82KB</span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'>1.37KB</span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'>5.68KB</span>","children":null,"spread":false}],"spread":true},{"title":"DataGridViewPagerControl.csproj <span style='color:#111;'>3.47KB</span>","children":null,"spread":false},{"title":"pin.bmp <span style='color:#111;'>824B</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.Designer.cs <span style='color:#111;'>15.84KB</span>","children":null,"spread":false},{"title":"App.ico <span style='color:#111;'>17.13KB</span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"DataGridViewPagerControl.csproj.GenerateResource.Cache <span style='color:#111;'>1.01KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.PagerControl.resources <span style='color:#111;'>18.34KB</span>","children":null,"spread":false},{"title":"PagerControl.csproj.FileListAbsolute.txt <span style='color:#111;'>1.47KB</span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'>3.00KB</span>","children":null,"spread":false}],"spread":true},{"title":"PagerControl.csproj.CoreCompileInputs.cache <span style='color:#111;'>42B</span>","children":null,"spread":false},{"title":"PagerControl.csprojResolveAssemblyReference.cache <span style='color:#111;'>8.02KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.csprojResolveAssemblyReference.cache <span style='color:#111;'>4.09KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.csproj.FileListAbsolute.txt <span style='color:#111;'>3.57KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControlPagerControl.csproj.CoreCompileInputs.cache <span style='color:#111;'>42B</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'>6.73KB</span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'>1.42KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.Properties.Resources.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.pdb <span style='color:#111;'>31.50KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.dll <span style='color:#111;'>43.50KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.csproj.CoreCompileInputs.cache <span style='color:#111;'>42B</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.csproj.CopyComplete <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"PagerControl.csproj.GenerateResource.Cache <span style='color:#111;'>946B</span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":[{"title":"DataGridViewPagerControl.csproj.GenerateResource.Cache <span style='color:#111;'>1.01KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.PagerControl.resources <span style='color:#111;'>6.47KB</span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'>3.00KB</span>","children":null,"spread":false}],"spread":true},{"title":"DataGridViewPagerControl.csprojResolveAssemblyReference.cache <span style='color:#111;'>4.09KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.csproj.FileListAbsolute.txt <span style='color:#111;'>915B</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'>6.66KB</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'>1.42KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.Properties.Resources.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.pdb <span style='color:#111;'>29.50KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.dll <span style='color:#111;'>31.00KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.csproj.CoreCompileInputs.cache <span style='color:#111;'>42B</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"HRPM.Common.dll <span style='color:#111;'>99.50KB</span>","children":null,"spread":false},{"title":"HRPM.Common.pdb <span style='color:#111;'>73.50KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.pdb <span style='color:#111;'>31.50KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.dll <span style='color:#111;'>43.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":[{"title":"DataGridViewPagerControl.pdb <span style='color:#111;'>29.50KB</span>","children":null,"spread":false},{"title":"DataGridViewPagerControl.dll <span style='color:#111;'>41.00KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"DataGridViewPagerControl.resx <span style='color:#111;'>32.96KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • carocaro:
    没有relationcontrol2021-01-29
  • mychj:
    this.dataPager1.RelationControl(this.Dgv);this.dataPager1.DataSource=ds.Tables[0];根本没有RelationCo2020-10-18
  • tanglin001:
    不错,满足了我DataGridView分页的需求2020-08-07
  • 勿说心想:
    this.dataPager1.RelationControl(this.Dgv);this.dataPager1.DataSource=ds.Tables[0];gridview怎么点不出2020-03-26
  • njh032:
    用上了,真心不错2020-03-12

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明