如何使用Windows窗体中的分页将数据从Sql绑定到DatagridView? [英] How to Bind data from Sql to DatagridView using Paging in Windows Forms?

查看:91
本文介绍了如何使用Windows窗体中的分页将数据从Sql绑定到DatagridView?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在我的Windows窗体Application中将我的数据库表中的许多记录绑定到DataGridView。我想要使用这样的4个按钮<,<<,> ;>,>。

如何为此编写代码?

先谢谢你..

解决方案

< blockquote>需要很多代码,没有人会在这里全部给你。您可以在线搜索,因为有很多很多例子。



一旦你遇到具体的问题,请回来问一个具体问题,我们很乐意帮助你

Hi,
I want to Bind many records from my database table to DataGridView in my Windows-form Application.Here I want to use 4 buttons like this <,<<,>>,>.
How to write code for this?
Thanks in Advance..

解决方案

There's a lot of code required and no one will just give it all to you here. You can search online as there are many, many examples.

Once you get stuck on something specific, please come back and ask a specific question and we'll gladly help.


这篇关于如何使用Windows窗体中的分页将数据从Sql绑定到DatagridView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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