Hash Table
-
Hi, i am working in windows application of C# i am using hash table. i want to add data to hash table from datatable named DTSchool. I have a school name in combobox. when iselect school in combo it takes the curresponding SchoolID from the datatable i want to know how to write code for that. i wrote like this List.Add(SchoolDT.Rows[cboSchool.SelectedIndex]["SchoolID"],cboSchool.Text.ToString()); .But it is not taking value from datatable.Please help me regarding this problem?
-
Hi, i am working in windows application of C# i am using hash table. i want to add data to hash table from datatable named DTSchool. I have a school name in combobox. when iselect school in combo it takes the curresponding SchoolID from the datatable i want to know how to write code for that. i wrote like this List.Add(SchoolDT.Rows[cboSchool.SelectedIndex]["SchoolID"],cboSchool.Text.ToString()); .But it is not taking value from datatable.Please help me regarding this problem?