About 2,240,000 results
Open links in new tab
  1. C# listView, how do I add items to columns 2, 3 and 4 etc?

    To add items to column 1 in my listView control (Winform) I'm using listView1.Items.Add, this works fine but how do I add items to columns 2 and 3 etc?

  2. c# - How to add data from a List<List<String>> to a list view - Stack ...

    Nov 3, 2010 · How to add data from a List<List<String>> to a list view Asked 15 years ago Modified 15 years ago Viewed 27k times

  3. c# - How to bind a List<string> to a DataGridView control ... - Stack ...

    I have a simple List<string> and I'd like it to be displayed in a DataGridView column. If the list would contain more complex objects, simply would establish the list as the value of its DataSource property.

  4. c# - Sorting A ListView By Column - Stack Overflow

    Oct 10, 2009 · It pretty much just involves sending the listview items to a datatable, sorting the default view of the datatable by the column name (using the index of the clicked column), and then …

  5. c# - Display List in a View MVC - Stack Overflow

    Mar 10, 2015 · I'm trying to display the list I made in my view but keep getting : "The model item passed into the dictionary is of type 'System.Collections.Generic.List1[System.String]', but this dictionary requ...

  6. c# - List model razor view - Stack Overflow

    May 21, 2013 · List model razor view Asked 12 years, 6 months ago Modified 12 years, 6 months ago Viewed 46k times

  7. C# Change ListView Item's/Row's height - Stack Overflow

    3 The default line height of a ListView (in report view mode) is computed based on the control's font size. So to select the line height, choose a font with the right height in the ListView properties. For …

  8. c# - How to show a list into a view with other info in .NET Core API ...

    Apr 26, 2021 · In the "details" view it should be possible for the user to look at his information and the list of the publications he has made, for that, I have created a model class with two classes, one for the …

  9. c# - Using a list as a data source for DataGridView - Stack Overflow

    Jul 14, 2014 · Here is the code that I am using for this question: Upon the loading of the form, I load the configuration file and a private member called m_Settings has all the key-value pairs. Then I create a …

  10. c# - Add Items to Columns in a WPF ListView - Stack Overflow

    Feb 13, 2016 · I've been struggling for a while now to add items to 2 columns in a ListView. In my Windows Forms application I had a something like this: // In my class library: public void …