|
-
Jun 29th, 2011, 03:54 AM
#3
Thread Starter
Hyperactive Member
Re: ListView.DataSource = DataTable
Okay, I added a DataGridView instead. I also changed some colours and properties so it should work more like a listview.
My datatable has this design:
Column1 = string, Column2 = string, Column3 = myOwnType
I want to display column 1 in column 1 and the same with column 2. I don't want to display column3, it should only be accessible from the "SelectedRow" property or something.
How do make it so?
Secondly, how can I hide this:

(The one with a red cross)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|