About 50 results
Open links in new tab
  1. C#: easiest way to populate a ListBox from a List

    C#: easiest way to populate a ListBox from a List Asked 15 years, 2 months ago Modified 7 years, 1 month ago Viewed 163k times

  2. Binding Listbox to List<object> in WinForms - Stack Overflow

    Apr 20, 2010 · What's the simplest way to bind a Listbox to a List of objects in Windows Forms?

  3. How can I add an item to a ListBox in C# and WinForms?

    list.DisplayMember = "clan"; list.ValueMember = sifOsoba; How can I add ValueMember to the list with an int value and some text for the DisplayMember?

  4. How to add headers to a multicolumn listbox in an Excel userform …

    20 Is it possible to set up the headers in a multicolumn listbox without using a worksheet range as the source? The following uses an array of variants which is assigned to the list property of the listbox, …

  5. How exactly do I create a multicolumn listbox in Visual Basic?

    How exactly do I create a multicolumn listbox in Visual Basic? Asked 9 years, 9 months ago Modified 5 years, 4 months ago Viewed 67k times

  6. How to create a listbox in HTML without allowing multiple selection ...

    I don't have much experience in HTML. I am looking to create a simple listbox, but one of the requirements is to DISALLOW multiple selection. Most of the code for listboxes goes like this - <...

  7. What is the proper way to load up a ListBox? - Stack Overflow

    Nov 20, 2008 · 27 What is the proper way to load a ListBox in C# .NET 2.0 Winforms? I thought I could just bind it to a DataTable. No such luck. I thought I could bind it with a Dictionary. No luck. Do I have …

  8. c# - How to select item in ListBox - Stack Overflow

    Feb 16, 2017 · listBox.SelectedIndex = 5; listBox.UpdateLayout(); listBox.Focus(); Apparently, I was missing the last method, which sets the highlight to the selected item, which was updating fine even …

  9. winforms - C# custom listbox GUI - Stack Overflow

    Bind your listbox to an object-binding source and implement INotifyPropertyChanged in your displayed items. The magic of data binding will then let the listbox display the changes automatically!

  10. C# removing items from listbox - Stack Overflow

    I have a listbox being populated from a SQLDATA pull, and it pulls down some columns that i dont want like OBJECT_dfj, OBJECT_daskd. The key is all of these being with OBJECT_, is there a way to r...