[英]best way to display multi-columned data in grid format in winforms?
What is the best way to display multi-columned data in a grid format using C# WinForms? 使用C#WinForms以网格格式显示多列数据的最佳方法是什么?
Is it ListView or DataGridView? 是ListView还是DataGridView?
datagridview是选择,它以网格格式显示数据,还支持当今许多应用程序所需的排序,过滤等操作
DataGridView
is your best bet for simple grid display. DataGridView
是简单网格显示的最佳选择。 However, if you are needing nested (collapsible/expandable) display for child rows, etc. DataGridView will not do that. 但是,如果您需要子行等的嵌套(可折叠/可扩展)显示,则DataGridView不会这样做。
The ListView
would be good for something like the way Windows Explorer displays objects, properties, files, etc. ListView
适用于Windows资源管理器显示对象,属性,文件等的方式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.