Populating a ComboBox using C#
Define a class public class Language { public string Name { get; set; } public string Value { get; set; } } then… //Build a list var dataSource = new List<Language>(); dataSource.Add(new Language() { Name = “blah”, Value = “blah” }); dataSource.Add(new Language() { Name = “blah”, Value = “blah” }); dataSource.Add(new Language() { Name … Read more