Behrooz Karjoo
Behrooz Karjoo

Reputation: 4292

Which windows form control is best for presenting data in a tabular fashion?

I need to present the output on the form in rows and columns. Is there a control to make that task easier? I am using visual studio 2010 and coding in C#.

Upvotes: 0

Views: 1043

Answers (2)

Benny Jobigan
Benny Jobigan

Reputation: 5309

Though you asked about WinForms, if you use WPF, in WFP 4.0 (.NET 4) there's a DataGrid that you can use. It's quite flexible.

Upvotes: 0

Oren A
Oren A

Reputation: 5900

You're looking for DataGridView.
Which looks like so (don't worry, the colors are fully configurable (;):

alt text

And has many advances capabilities such as DataBinding and paging.
Here's a tutorial to get you started.

Upvotes: 2

Related Questions