如何使用List进行gridview排序. [英] How to do gridview sorting with List.
本文介绍了如何使用List进行gridview排序.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我想在Gridview中执行排序,同时使用3个轮胎架构和最差的Entity框架进行即时显示,这里我的gridviews数据源是一个List,我引用了很多示例,但是它们都使用DataTable,所以我需要不同的示例适用于ma场景,绑定列表.感谢您的回答.
Hi all, i wanna perform sorting in Gridview , mean time im using 3 tire architecture and the worst Entity framework, here my gridviews data source is a List , i refer many example but they all using DataTable so i need different example that suits for ma scenario , Bind List. Thanks for yours answers.
推荐答案
尊敬的Xavier Nishanth,
试试这两个链接,您将得到答案.
(1).
http://www.c-sharpcorner.com/Blogs/11766/ [ http://douglasit.wordpress .com/2012/01/19/how-to-sort-a-gridview-using-list-as-a-datasource/ [
Dear Xavier Nishanth,
Try this two link you will get your answer.
(1).
http://www.c-sharpcorner.com/Blogs/11766/[^]
(2).
http://douglasit.wordpress.com/2012/01/19/how-to-sort-a-gridview-using-list-as-a-datasource/[^]
If this, not your answer, then show me your code. I will try to answer soon.
Thank You.
Manoj Kalla
这篇关于如何使用List进行gridview排序.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文