Tables

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2009
Posts: 1
Reputation: LucerinRed is an unknown quantity at this point 
Solved Threads: 0
LucerinRed LucerinRed is offline Offline
Newbie Poster

Tables

 
0
  #1
31 Days Ago
So, i'm new to C# and not really sure how to do this. I need to create an options table where when the user loads it, it looks sort of like this http://img11.imageshack.us/img11/9012/formf.jpg

On the initial load, all of the data members are on top, loaded from an array. If the user doesn't want a particular data member to be used all they have to do is highlight it and click the down arrow. This moves the entire row from the top table to the bottom table visual wise, and to a different array data wise. I assume I would use something like a ListView, but I'm not sure how to make it behave like I want it to. When the user clicks a row I want the whole row to be highlighted, and I would like the give the user the ability to sort all rows by a particular column.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 328
Reputation: Diamonddrake is a jewel in the rough Diamonddrake is a jewel in the rough Diamonddrake is a jewel in the rough 
Solved Threads: 39
Diamonddrake's Avatar
Diamonddrake Diamonddrake is offline Offline
Posting Whiz
 
0
  #2
31 Days Ago
Its all basic list view control stuff. the list view can be difficult to work with, I recommend a ListView control tutorial. there are many. If I were to explain to you all that your question entails inside of this reply, it wold practically be a book.

here's a good start:
http://programmerslog.wordpress.com/...tview-control/

But that's just a start, google around, there are some good articles out there.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 914
Reputation: DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough 
Solved Threads: 146
DdoubleD DdoubleD is offline Offline
Posting Shark
 
0
  #3
30 Days Ago
The jpg I looked at seems like it would be more suited for a DataGridView with a DataTable as its DataSource. Why have you chosen to use a ListView?
Reply With Quote Quick reply to this message  
Reply

Tags
c#, listview, table

Message:



Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC