哪个控件更好(gridview,datagrid,repeater等)? [英] Which control is better(gridview,datagrid,repeater,etc)?

查看:81
本文介绍了哪个控件更好(gridview,datagrid,repeater等)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在asp.net中,哪个控件最适合在aspx页面上显示大量数据?
除了gridview之外,还有其他选择吗?

In asp.net,which control is better for displaying bulk of data on an aspx page?
other than gridview any other options?

推荐答案

亲爱的朋友,

GridView是最好的控件,对于批量数据,请使用分页,这取决于要显示的数据.

使用ROW_NUMBER()分页GridView [
Dear Friend,

GridView is the best control and for bulk data use paging and it depends on what data you want to show.

Paging GridView with ROW_NUMBER()[^]

Thanks


这完全取决于您要向用户提供哪些功能.您可以将gridview与用于显示数据的其他控件进行比较,并进行明智选择.阅读这些:

comparing-listview-with-gridview-数据列表和中继器 [ Repeater-DataList-ListView-GridView. [
It totally depends what features you want to provide to your users. You can compare gridview with other controls used for displaying data in terms of pros and cons of each and choose wisely. read these:

comparing-listview-with-gridview-datalist-and-repeater[^]


Repeater-DataList-ListView-GridView.[^]

hope it helps :)


编译错误0666:未定义谓词更好"".

除了笑话:这要看情况.如果没有解释数据的结构,需要的表示方式(通常完全由数据的语义和应用程序要求来定义)以及是的,关于典型数据量的想法,这个问题确实没有任何意义.

好吧,一个非常低效的快速答案(由于上述原因):System.Web.UI.WebControls.GridView,带有分页,
http://docs.jquery. com/Main_Page [ ^ ].

—SA
"Compilation error 0666: predicate ''better'' is not defined".

Jokes aside: it depends. Without explanation of the structure of the data, required presentation options (usually totally defined by semantic of the data and application requirements) and, yes, the idea on typical volumes of the data, the question really makes no sense.

Well, a quick answer with very low validity (by the reasons explained above): System.Web.UI.WebControls.GridView, with paging, http://docs.jquery.com/Main_Page[^].

—SA


这篇关于哪个控件更好(gridview,datagrid,repeater等)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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