Monday 15 July 2013

c# - Dictionaries in DataTable -


I have 3 dictionary & lt; String, string & gt; Objects I have the same key as all 3:

 Dic1 Dic2 Dic3 KVKVKVA SJA IBDBEBUCCCCCDDDDDDDDDDDD DDPD Now, I would like to add these dictionaries to a datatibale, the datatale should look like this:  
 A B B DU C ARO D YTP  

How to make a hint or idea Get databases from different dictionaries?

  var dic1 = new dictionary & lt ("a", "s"}, { "B", "D"}, {"C", "A"}, {"D", "W"},} string, string> ("A", "Z"}, {"B ("A", "I"}, {"B", "O"}, {"C", "R"}, {"D", "T"}, "C", "U"}, {"D", "P"},} Var Table = New Datatelle (); Add table.column ("K", typef (string)); Add ("C1", typef (string)) table.Add column ("C2", typef (string)); Add column ("C3", typef (string)); Foreign exchange (The key to the DIC1). {Add Table RO (Key, DC1 [Key], DC2 [Key], DC3 [Key]);}  

No comments:

Post a Comment