Monday, October 31, 2011

How to databind a Dictionary to a ComboBox or Why I don't post much lately

Here's a perfect example of the kind of simple stuff I'm dealing with which is oddly new to me but has been solved for a looooong time now.

3 comments:

  1. comboBox1.DataSource = new BindingSource(colors, null);
    comboBox1.DisplayMember = "Value";
    comboBox1.ValueMember = "Key";

    Source...Bind Dictionary to Combobx

    Ling

    ReplyDelete

Why Prompt Engineering Alone Won’t Save You

The Setup I’ve been working on a project where GitHub Copilot is a close collaborator. To make sure things go smoothly, I put together comp...