1:控件数据源绑定泛型Dictionary1): Dictionart D=new Dictionary(string,string); xxx.DataSource=new BindingList (D.values.ToList());2): Dictionary D = new Dictionary ; BindingSource BS = new BindingSource(); BS.DataSource = D; XXX.DataSource=BS;
2:控件数据源绑定泛型List1): List L = new List (); XXX.DataSource = new BindingList (L);