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

We're All Actors on the Stage of Life

Yes, you read that right. You, my friend, are an actor. So am I. "But!" I hear you say, "I'm not making Hollywood bucks!&...