On Mon, Jun 18, 2012 at 11:38 AM, Denice Bollinger <[email protected]> wrote: > I am very new to VB so please help me to loop through the array of > locations to get unique locations from the data table. I know it > seems strange but the data table contains the locations listed > multiple times. When I add the location to the location report I only > need the location listed once. ---------------------------
Just ask the database again instead Select distinct location from sameTable order by 1 Yes asking teh db is the slowest single process but not compared to what you want to do. -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell -- 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 [email protected] To unsubscribe from this group, send email to [email protected] 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
