Then why are you overwriting the values in the ArrayList with the values returned from the table ??
I think what you require here is a Dictionary, not an arraylist: --- Dim dic As New StringDictionary() dic.Add("codigo", codigo) dic.Add("distrito", distrito) dic.Add("provincia", provincia) dic.Add("departamento", departamento) dic.Add("region", region) --- -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to dotnetdevelopment@googlegroups.com To unsubscribe from this group, send email to dotnetdevelopment+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net