best way to display multi-columned data in grid format in winforms?
W开发者_如何学JAVAhat is the best way to display multi-columned data in a grid format using C# WinForms?
Is it ListView or DataGridView?
DataGridView
is your best bet for simple grid display. However, if you are needing nested (collapsible/expandable) display for child rows, etc. DataGridView will not do that.
The ListView
would be good for something like the way Windows Explorer displays objects, properties, files, etc.
datagridview is the choice , its shows data in grid format, also supports operation like sorting, filtering which is required by lot of apps nowadays
精彩评论