如何在C#中的数据网格中显示分页 [英] how to show pagination in data grid in c#

查看:58
本文介绍了如何在C#中的数据网格中显示分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我遇到一个问题.我必须在c#desktop应用程序的datgrid中创建分页,但是我没有在c#桌面应用程序中获得PAGING或ALLOWPAGING属性.

实际上,我正在抓取一个网站(名称地址)并将其保存在.csv文件中,但现在我必须在带有分页的网格视图中显示此数据.我已经编写了将数据写入数据网格但没有分页功能的代码.那就是我想要达到的目标.

如何实现
在此先感谢您.

Hi All,

I am encountering a problem . I have to create paging in datgrid in c#desktop application but I am not getting the PAGING OR ALLOWPAGING PROPERTY in c# desktop application


Actually i am scraping a website(name address) and saving it in .csv file but now i have to show this data in grid view with paging. I have written code that writes data in data grid but doesnot have paging facility. thats what i want to achieve.

How to achieve this
Thanks in Advance.

推荐答案

您尚未提供,因此很难为您提供帮助.
但是,也许要看看其他一些实现(例如 DataGrid分页-C#Windows窗体 [
You have not provided, so it is hard to help you.
However, maybe looking at some other implementations (like DataGrid Paging - C# Windows Forms[^]) can help you.


代码项目的人们就同一问题写过文章.看看:

DataGrid分页-C#Windows窗体 [在DatagridView中分页 [ http://support.microsoft.com/kb/307710 [
People at code project have written articles on same issue. Have a look at:

DataGrid Paging - C# Windows Forms[^]

Paging in a DatagridView[^]

http://support.microsoft.com/kb/307710[^]


希望 ^ ]文章可能会对您有所帮助.
Hope DataGrid Paging - C# Windows Forms[^] article from CP might help you.


这篇关于如何在C#中的数据网格中显示分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆