C#2011. 12. 27. 10:36


            Dictionary<String, String> risk = new Dictionary<string, string>();
            risk.Add("IN", "옥내");
            risk.Add("OUT", "옥외");

            cbInOut.DataSource = new BindingSource(risk, null);
            cbInOut.DisplayMember = "Value";
            cbInOut.ValueMember = "Key";

Posted by 댓거리사랑