问题描述
我使用实体框架1.0并尝试使用可访问我的外观的objectdatasource馈送Gridview.问题是,这似乎特别困难,并且还没有看到能真正实现我想要在互联网上做的任何事情.
Im using entity framework 1.0 and trying to feed out a Gridview with a objectdatasource that have access to my facade. The problem is, that it seems to be particulary difficult and haven't seen anything that realy do what i want it to do on the internet.
对于那些知道的对象提供数据的gridview,它无法自动排序,因此您必须手动进行排序.没有那么糟糕.当我们将分页和过滤器设置添加到gridview的数据源时,这就是噩梦.
For those who know, a gridview feeded with an objectdatasource, it can't sort automaticaly then you must do it manually. It's not that bad. Where it becomes a nightmare, its when we add paging and filter settings to a gridview's datasource.
在互联网上搜索了许多小时后,我问你们,是否有人知道可以解释我如何混合 Pagging ,排序和过滤以获取网格视图和对象数据源!
After many hours searching on the internet, i'm asking you, guys, if anyone knows a link that can explain me how to mix Pagging, Sorting and filtering for a gridview and an objectdatasource!
在此先感谢您的英语.
推荐答案
最终!经过2天的搜索,最终找到了替代方案!看看这个!
FINALY! After 2 days of search, finaly found an alternative! Look this out!
http://www.unboxedsolutions.com/sean/archive/2005/12/28/818.aspx
这篇关于Objectdatasource和Gridview:排序,分页,过滤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!