使用实体框架在ASP.NET中对网格控件进行分页和排序 [英] Paging and Sorting to Grid Control in ASP.NET with Entity Framwork

查看:65
本文介绍了使用实体框架在ASP.NET中对网格控件进行分页和排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我需要使用 分页 排序 asp.net网格控件 没有数据源控件,

我想绑定数据 < big>来自.cs文件 ,还想 使用skip&拿 语句获取页面数据。



谢谢

Gaurav

Hi All,

I need to use paging and sorting for asp.net grid control without data-source control,
I want to bind data from .cs file, and also wanted to use skip & take statement for fetching page wise data.

Thanks
Gaurav

推荐答案

http://stackoverflow.com/questions/10911148/how-to-paginate-a-gridview-and-sql-custom-query-with-row-number/10912308#10912308 [< a href =http://stackoverflow.com/questions/10911148/how-to-paginate-a-gridview-and-sql-custom-query-with-row-number/10912308#10912308\"target =_ blanktitle =新窗口> ^ ]



如何实现分页和分类在aspnet-Gridview-control.aspx [ ^ ]



手动分拣 - and-paging-gridview-without-using-datasource-control.aspx [ ^ ]



Hope它会有所帮助..
http://stackoverflow.com/questions/10911148/how-to-paginate-a-gridview-and-sql-custom-query-with-row-number/10912308#10912308[^]

How-to-implement-paging-and-sorting-in-aspnet-Gridview-control.aspx[^]

manually-sorting-and-paging-gridview-without-using-datasource-control.aspx[^]

Hope it will help..


这篇关于使用实体框架在ASP.NET中对网格控件进行分页和排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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