I need some GUI that can hold 3 columns of of text (that i would like to be aligned). I'll add and delete rows. What control can i use and how do i add in the 3 items?
+1
A:
Use the DataGrid control if you are using WindowsForms. It allows for complete control over the display of headers and you can manually add/remove rows at will.
Phil Wright
2009-04-13 01:31:09
A:
If you want to use WinForms, you could use the TableLayoutPanel to provide this functionality. The cell contents could be a Label or a read-only TextBox. You could also use a DataGrid. Of course, there is always the ListView as well.
In WPF, you have many more options on how to achieve this, but you could use a Grid (similar to TableLayoutPanel in concept) or a DataGrid.
Jeff Yates
2009-04-13 01:40:21
A:
A ListView control always works if you're looking for something simple and effective.
Ron Warholic
2009-04-13 01:42:17