public Hashtable SelectColumnMappings(int CompanyID) { DataTable dt = new DataTable(); Hashtable ht = new Hashtable(); DACompanyAliases da = new DACompanyAliases(); da.SelectColumnMappings(CompanyID, dt); foreach (DataRow row in dt.Rows) { ht.Add(row["Key"].ToString(),row["Value"].ToString()); } return ht; }