ASP.NET 网格视图与列表视图 [英] ASP.NET Grid View vs. List View

查看:27
本文介绍了ASP.NET 网格视图与列表视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 listview 比使用 gridview 有什么优势?我需要在我的视图中进行分页、编辑行、插入行和删除行.哪种控制最适合这种情况?似乎 GridView 不支持数据分页器.如果我将网格视图迁移到列表视图,我会牺牲什么?

What are the advantages of using listview over gridview? I need pagination, editing rows, inserting rows, and deleting rows in my view. Which control is best for that? It seems like GridView does not support data pager. What would I sacrifice if I migrated my gridviews to listviews?

推荐答案

GridView 支持:

GridView supports: