views:

35

answers:

2

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#.

+2  A: 

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.

Oren A
Yep, you've said it!
Secko
A: 

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.

Benny Jobigan