Browse by Tags

Related Posts

  • How to do 2 sorts in the same arraylist.

    Hi every body I created a class to sort an arraylist that i used to bind a GridView. In this case i have no problems, in this case i sort my arraylist with the id_user. But i don't know how sort this same arraylist with id_user and date, in fact i want te realized a sort with the id_user in the first...
    Posted to Visual Basic .NET (Forum) by PascalCmoa on 02-03-2009, 12:00 AM
    Filed under: sort, arraylist, compare, IComparer
  • Re: File Object

    Hello, Yes, the code as you have it will not work. You need to sort the collection before you write the information. You can create a custom Comparer (by implementing IComparer interface -- see http://msdn.microsoft.com/en-us/library/system.collections.icomparer.aspx ), add the items to an ArrayList...
    Posted to Getting Started (Forum) by igor.p on 08-18-2008, 12:00 AM
    Filed under: file, IComparer, sort
Page 1 of 1 (2 items)