List<dictionary<string, string>>; list = ~~~~~;
foreach (Dictionary<string, string=""> record in list)
{
this.combo.Add(record["text"], record["val"]);
};
this.combo.DataSource = new BindingSource(list, null);
this.combo.DisplayMember = "Key";
this.combo.ValueMember = "Value";
'기타 개발 > C#' 카테고리의 다른 글
| 그림판 소스 (0) | 2014.06.17 |
|---|---|
| LINQ - Left outer join (0) | 2014.04.14 |