/ Published in: C#
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
n,
}
);
comboBox1.DataSource = query.ToList();
comboBox1.DisplayMember = "key";
comboBox1.ValueMember = "n";
Comments
 Subscribe to comments
                    Subscribe to comments
                
                