How do I create a simple table? DataGrid seems very complicated
- From: longbrmb@xxxxxxxxx
- Date: Tue, 26 Aug 2008 13:54:50 -0700 (PDT)
I'm relatively new to Windows Forms, so I haven't figured out how to
do certain things yet. I come from the Java world with Swing and
SWT. I am trying to create a simple table that is used to configure
some hardware. At this point I just want to get something built read-
only. What I really want is something that looks like the standard
windows file manager in details mode.
From what I can tell, the DataGrid control is what I should be using,is that right? I've looked at some tutorials and it looks incredibly
complicated. In SWT you had a Table, TableColumns, and TableItems and
you just built the table as you wanted. In .NET there are DataTables,
data binding, links to other tables and all kinds of stuff. Is there
not an interface to just deal with columns and cells? Also, every
screenshot I've seen looks like some ugly table from Windows 3.1, how
do I get something that looks like the tables used in the Windows file
manager?
Does anyone have any suggestions or do I just need to tough it out and
read through tutorials and documentation to figure out how these
DataGrids work?
.
- Follow-Ups:
- Re: How do I create a simple table? DataGrid seems very complicated
- From: Bob Powell [MVP]
- Re: How do I create a simple table? DataGrid seems very complicated
- Prev by Date: Getting ComboBox to act like an TextBox
- Next by Date: Re: How do I create a simple table? DataGrid seems very complicated
- Previous by thread: Getting ComboBox to act like an TextBox
- Next by thread: Re: How do I create a simple table? DataGrid seems very complicated
- Index(es):
Relevant Pages
|
Loading